OFF
(Built-in Constant)
Sets an OFF (0) value.
OFF
This statement sets an OFF (0) value in an expression.
IF I1 = TRUE THEN
|
'Sets the Boolean value to true (1).
|
I1 = ON
|
'Sets ON(1) to the integer type variable.
|
ELSEIF I1 = FALSE THEN
|
'Sets the Boolean value to true (1).
|
I1 = OFF
|
'Sets OFF(0) to the integer type variable.
|
ELSE
|
|
D1 = PI
|
'Assigns π to the real type variable.
|
ENDIF
|
|