SET
Assign a value to a set of variables
WSupported on Windows
|
USupported on Unix
|
VSupported on OpenVMS
|
NSupported in Synergy .NET
|
SET variable[, ...] = expression
Arguments
variable
One or more variables to which a value will be assigned. All variables within a single SET statement must be the same data type.
expression
An expression whose result is assigned to each of the variables in the SET statement.
Discussion
The SET statement assigns a single value to one or more variables, which is useful if you have a large set of variables to assign to the same value.
We recommend using the SET statement rather than individually assigning the same value to multiple fields. |
The data type for expression must be compatible with the data type for variable.
Examples
set dflag1, dflag2, dflag3 = 1