Greater than, Less than, Equals – Boltek Lightning/2000 User Manual
Page 71: Not equals, Less than or equals to, Greater than or equals to, A logical and of two expressions
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
71
71
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
if
if
if expression then
then
then
then
One or more statements
elseif
elseif
elseif
elseif expression then
then
then
then
One or more statements
elseif
elseif
elseif
elseif expression then
then
then
then
One or more statements
else
else
else
else expression then
then
then
then
One or more statements
endif
endif
endif
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
and
and
and
a logical and of two expressions