Script
Syntax Requirements |
The STN
Express Script Language has few general syntax requirements. However,
each statement has its own syntax.
More
than one statement may appear on the same line, or each statement
may be typed on its own line.
The
keywords in the Script Language are not case-sensitive. For
example, the EXIT statement may be written EXIT or exit.
Upper-
and lowercase are significant in character strings. For example,
"Yes" is different from "yes".
Blank
lines may appear anywhere.
Blanks
and space characters may appear anywhere. However, they are
significant in strings (inside double quotes). For example,
"STNExpress" is different from "STN Express".
A
line in a script is limited to 80 characters, but a single
script statement can be 140 characters long. To continue
a statement on the next line, put a backslash, \, at the end
of each line that is continued on the next line.
Enclose
strings in double quotes.
Comments
are notes that describe or explain the script, and they are
ignored by the script processor. Comments begin with \* and
continue until the end of the line. Comments may appear on
lines of their own, or they may appear at the end of any statement
except the Prompt Statement.
STN
commands can be up to 256 characters in length.
|