PI (Built-in constant)


Sets a π value.


PI


This statement returns a double-precision type value of π.


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


Top