Script File Format


(Contents)(Previous)(Next)

A script file is an ASCII text file containing script commands, variables, and user comments. Follow these rules for spacing and arranging script commands:

· A script command can occupy multiple physical text lines. Each script command ends with a semicolon (;).

· Script files usually execute sequentially, from the first line of the script file to the last.

· You may branch the script file execution to return to a previous portion of the file or to skip over portions of the script file (if/then, goto).

· The script language currently has no loop control construct. However, you can create a loop by using if/then and goto.

· All command key words must be lowercase.

· Every script file requires at least one label statement.

· Usually you should end your script file with an exit statement. If your script file does not end in an exit statement, the user will have to stop the script file manually by clicking the Stop Script Playback button on the Terminal window.

Note: most of the script examples here are not complete script files. That is, they illustrate particular concepts or commands, but they will not necessarily execute all by themselves. (The most common reason is that most of these examples do not contain a label statement.)

More:

Script File Examples

Script File: Comments

Script File Processing

Script File Pre-defined Macros

Script File Variables


(Contents)(Previous)(Next)