ON
(Built-in constant)

Sets an ON (1) value.

ON

This statement sets an ON (1) 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
|
|