The set BASIC program modifies the value of a D3 user shell variable.
set {variable.name{={"|’}variable.value{"|’}}}
If set is executed with no arguments, then it functions identically to the penv command. This displays a list of the currently set user variables and their values.
If set is executed with a variable name, but with no variable value, then the variable is assigned a null value. To completely remove a variable, use the unset command.
It is possible to create variable values which contain other variable names for later expansion. To do this, enclose the entire variable value within single quotation marks. The quotation marks prevent the variable names from being translated immediately by the set command.
set mycv=1 display @$mycv 1