TRUE
(Built-in constant)

Sets a value of true (1) to a Boolean value.

TRUE

This statement sets a value of true (1) to a Boolean value.

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
|
|