DEFVEC (Statement)


Declare a vector variable.


DEFVEC <variablename>[=<vector constant>][,<variablename>
[=<vector constant>]...]


This statement declares the variable specified by <variablename> as a vector type.
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.



DEFVEC lvx, lvy, lvz
'Declare lvx, lvy, and lvz as vector variables
DEFVEC lvx = (10,10,5)
'Declare lvx as a vector variable and set the
'initial value (10,10,5)


Top