# /set

Usage:

/SET name=value
/SET [name [value]]

In the first form, or with two arguments, /set will set the value of variable name to value. With one argument, /set will display the value of variable name. With no arguments, /set will display the value of all internal variables. If the first form is used, there should be no spaces on either side of the '='.

Variable name will be an internal variable unless it has already been defined as an environment variable.

Note: The variables 'L' and 'R' are reserved. You should not assign values to them.

When setting a variable, /set returns 1 if successful, 0 if not. When listing variables, /set returns the number of variables listed.

See: variables, /listvar, /setenv, /export, /let, /unset, /edvar

Back to index
Back to tf home page

Copyright © 1995, 1996, 1997, 1998, 1999, 2002, 2003, 2004, 2005 Ken Keys