
Chapter 16 Constants
16-5
TRUE (Built-in constant)
Function
Sets a value of true (1) to a Boolean value.
Format
TRUE
Explanation
This statement sets a value of true (1) to a Boolean value.
Related Terms
FALSE
Example
1F 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
Commentaires sur ces manuels