DEFDBL (Statement)


Declare a double-precision variable.


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


This statement declares the variable specified by <variablename> as a double-precision type.
The double-precision variable range is from -1.7D+308 to 1.7D+308.
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.



DEFDBL ldx, ldy, ldz
'Declare ldx, ldy, and ldz as double-precision variables of type
'real
DEFDBL ldx = 1.0
'Declare ldx as a double-precision variable and set
'the initial value 1.0


Top