Command Descriptions
31
left is greater than the value on the right of the operator, then the expression is
FALSE
. The less than or
equal operator (
<=
) can only be used to compare two values.
More than one (
<=
) operator can be used within a single command; however, the total command length is
limited to 80 characters.
The (
<=
) operator can be used in conjunction with the
IF
,
WHILE
,
UNTIL
, and
WAIT
commands.
Examples of valid commands are
IF(VAR1<=1)
and
WHILE(VAR1<=1
AND
VAR2<=3)
. An example of an
invalid command is
IF(1<VAR1<=54)
.
[ <> ]
Not Equal
Type
Operator
(Relational)
Syntax
See
below
Units
n/a
Range
n/a
Default
n/a
Response
n/a
See Also
[
=
],
[
>=
],
[
<
],
[
<=
],
[
AND
],
IF,
[
OR
],
UNTIL,
WAIT,
WHILE
Product Rev
GT6K 6.0
GV6K 6.0
The not equal (
<>
) operator is used to compare two values. If the value on the left of the operator is not
equal to the value on the right of the operator, then the expression is
TRUE
. If the value on the left is equal
to the value on the right of the operator, then the expression is
FALSE
. The not equal operator (
<>
) can only
be used to compare two values.
More than one (
<>
) operator can be used within a single command; however, the total command length is
limited to 80 characters.
The (
<>
) operator can be used in conjunction with the
IF
,
WHILE
,
UNTIL
, and
WAIT
commands.
Examples of valid commands are
IF(VAR1<>1)
and
WHILE(VAR1<>1
AND
VAR2<=3)
. An example of an
invalid command is
IF(1<VAR1<>54)
.
[ ( ) ]
Operation Priority Level
Type
Operator
(Mathematical)
Syntax
See
below
Units
n/a
Range
n/a
Default
n/a
Response
n/a
See Also
[
=
],
[
-
],
[
*
],
[
/
],
[
SQRT
],
VAR, VARI
Product Rev
GT6K 6.0
GV6K 6.0
The Operation Priority Level operator determines which operation to do first in a mathematical expression.
For example, if you want to add 5 to 6 times 3, you can specify
VAR1=6*3+5
or
VAR1=5
+
(6*3)
.
More than one set of parentheses can be used in a mathematical expression; however, they cannot be
nested.
Example of valid command:
VAR1=(VAR2
*
3)
*
(3
+
VAR4)
www.comoso.com
Содержание Gemini GT6K
Страница 24: ...www comoso com ...
Страница 40: ...www comoso com ...
Страница 344: ...www comoso com ...
Страница 350: ...www comoso com ...