Example of an AScript Program 

  1. Click the AScript Editor button to open the editor.
  2. Create a script or click the Load AScript button to open a script.
  3. Select a script, then click the Select button under Library Viewer.


AScript example


In this example:

WHILE statement, IF statement, GOSUB statment
Note: In AScript, subroutines are numbered (0-32), not named.


SUB routine (call highlighted in previous image)


Motion control example of high speed (HSPD), setting low speed (LSPD), a command setting acceleration (ACC)


Commenting Ascripts
Comments are any characters after a semicolon ; (in this example) or character or a single quotecharacter. 


See the Commander Manual for ASCII Language Specifications.

See also the Commander Reference