86
13.3.1.7 Logical operators
AND
NOT
OR
13.3.1.8 Expression operators
= - / * =
<>
<
>
<=
>=
%
13.3.1.9 Other
//
DRAIN
VERSION
13.4 Glossary of commands
This section contains an alphabetical list of all the commands available when creating scripts.
Examples are given for each command. You may also find it useful to look at the example script
supplied with the machine.
Note: Some commands, like
SETUP
and
MENU
, must be ended by a corresponding command,
e.g.
ENDSETUP
or
ENDMENU
. It is indicated below where this is necessary.
13.4.1 How glossary entries are arranged
Glossary entries on script commands consist of three parts:
•
The name of the command itself.
This is on the left side of the page. Related
commands and other commands explained in the same glossary entry are listed underneath.
•
The command syntax
. This appears to the right of the command name. The syntax
indicates the other types of information that are needed for the command to operate, and how
the components should be arranged.
•
The command definition.
This is found below the command name and syntax. The
definition explains exactly what the command does, and gives examples of its uses.
13.4.2 Syntax abbreviations
The explanations of command syntax use a number of terms to denote different types of
information:
•
<value>:
indicates a number.
•
<string>:
indicates a text string within quotation marks.
•
<string exp>:
indicates either text within quotation marks or a variable which contains
text (e.g.
user$
if the information it represents is, say, “Adam”).
•
<variable>:
indicates either a persistent or non-persistent variable, e.g.
mailpass$
or
modeminit
.
•
<filename>:
indicates a filename within quotation marks. It is usually better to include
the full path in filenames, e.g
“C:\Documents\Logs\Log1”
rather than
“Log1”
.