DEFSTR
(Statement)
Declare a string variable.
DEFSTR <variablename>[=<constant>][,<variablename>[=<constant>]...]
This statement declares the variable specified by <variablename> as a string type.
The string variable length is a maximum of 243 characters.
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.
DEFSTR lsx, lsy, lsz
|
'Declare lsx, lsy, and lsz as string variables
|
DEFSTR lsx = "DENSO"
|
'Declare lsx as a string variable and set
'the initial value "DENSO"
|