| send-message | Index Level | set-8mm |
| Syntax | set {variable.name{={"|'}variable.value{"|'}}} |
| Category | TCL |
| Type | Verb |
| Description |
modifies the value of a Pick user shell variable.
If the "set" command 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 the "set" command 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 quotes. The quotes prevent the variable names from being translated immediately by the set command. See the tcl "@" token for more information on using Pick shell variables. |
| Options | |
| See Also | penv @ unset u0091 tcl-prompt var $OPTIONS |
| Example |
set mycv=1
set mycv=1 display @$mycv 1 |
| Warnings | When setting a variable, it is important never to use the "@" or "@$" prefix as would be required if one were using that variable. |
| Compatibility | D3 7.0 |
| send-message | Index Level | set-8mm |