SetVar $variable,{"string1" | $var1}[,{"string2" | $var2}...]
Where:
$variable | is the name of the variable to be set. |
stringn | is a string of characters. stringn is case sensitive. Enclose stringn in double quotation marks ("") if it contains embedded spaces or commas. |
$varn | is a variable. The text defined for the variable is substituted for the variable name and used as the command parameter. |
The SetVar command initializes a variable to the specified text string or variable. If multiple stringn and/or $varn parameters are used they are concatenated together to form a new $variable.
Use the variable in place of the text in any script commands that accept a variable as a parameter.
Examples
SetVar | $NAME,"Sam Spade" |
SetVar | $firstname,Sam |
SetVar | $lastname,Spade |
SetVar | $NAME,$firstname," ",$lastname |
SetVar | $Name,$SCREEN(1,1,1,8) |
See Also:
TN3270 Plus is continually being improved. To learn more about the latest enhancements, please review our Version History web page.