DEFSNG
(Statement)

Declare a floating-point variable.

DEFSNG <variablename>[=<constant>][,<variablename>[=<constant>]...]

This statement declares the variable specified by <variablename> as a floating-point type (single-precision variable of type real).
The floating-point variable range is from -3.4E+38 to 3.4E+38.
Specifying an equal sign and constant immediately following <variablename> performs initialization at the same time in declaration.
More than one variable name can be declared at a time by delimiting those names with commas.

DEFSNG lfx, lfy, lfz
|
'Declare lfx, lfy, and lfz as floating-point variables
|
DEFSNG lfx = 1.0
|
'Declare lfx as a floating-point variable and set
'the initial value 1.0
|