Owner's manual

R E A L - T I M E L I G H T N I N G D E T E C T I O N
71
7171
71
You may also end any line with a comment by typing a
semicolon. Any text on the line after the semicolon will not
be included in the custom summary window.
All keywords used in the Custom Summary start with the @
character. Commands start with the # character. There are 5
reserved words that you can use to control which commands
are executed: if, then, else, elseif, and endif.
The structure of an if statement is:
if
ifif
if expression then
thenthen
then
One or more statements
elseif
elseifelseif
elseif expression then
thenthen
then
One or more statements
elseif
elseifelseif
elseif expression then
thenthen
then
One or more statements
else
elseelse
else expression then
thenthen
then
One or more statements
endif
endifendif
endif
Only the if, then, and endif parts of the if statement are
required. Both the elseif and else parts are optional. There
may be any number of elseif parts, but there may only be one
else part. The else part is executed only if neither the if part
nor any of the elseif parts were executed.
A statement in the if, else, or elseif parts may be a command
or another if statement.
An “expression” is basically any kind of mathematical
expression, usually containing one or more of the keywords.
There are several special symbols and words that can be used
in an expression:
>
greater than
<
less than
=
equals
<>
not equals
<=
less than or equals to
>=
greater than or equals to
and
andand
and
a logical and of two expressions