This reference manual describes the script language syntax as a supplement
to the CX-Supervisor User Manual. It provides detailed definition of the syntax
of CX-Supervisor scripts that drive project, page, object actions and CX-
Supervisor expressions as used by objects and scripts.
Typographic conventions used in the examples in this reference manual are
as follows:
•
Script commands and reserved words are shown in the preferred case,
which may be either lower-, upper- or mixed-case.
•
Points are shown in lower-case. Objects are shown in upper-case.
The following terms are used in this reference manual:
•
Application. A set of files, containing an executable file, that carry out
certain tasks. This reference manual refers to the Microsoft Excel and
Microsoft Word for Windows applications.
•
Constant. A point or object within a script that takes only one specific
value.
•
Executable. A file that contains programs or commands, and has an
'*.EXE' extension.
•
Nesting. To incorporate one or more IF THEN ELSE/ELSEIF ENDIF
statements inside a structure of the same kind.
•
Operands. Constants or point variables.
•
Operators. Relational, arithmetic, and logical statements, for instance '+',
'<=' or 'AND'.
•
Or ('|'). The '|' symbol is used to represent 'or', where there are two or
more forms of the same syntax.
•
Point Types. Either Boolean, Integer, Real or Text.
•
Point Variable. A point or object within a script that may take different
values.
•
Strings. Data in the form of text delimited by quotation marks (" "), which
can be assigned to a point.
•
The '{' and '}' braces. Must be inserted around the argument command or
an error is reported. An error is reported if there are spaces between
braces.
•
'TRUE' and 'FALSE'. Refer exclusively to Boolean states, where Boolean
state 0 is 'FALSE' and Boolean state 1 is 'TRUE'.
SECTION 1 Introduction
SECTION 1
Introduction
11