SET
Top  Previous  Next

   
This command assigns values to built-in variables. Dynamically generated variables cannot be set using this command. SET !LOOP n is ignored for every loop run except the first one.

Syntax

SET variable_name variable_value


Parameters

variable_name
Specifies the name of the variable which is to be set. Must be a built-in variable.

variable_value
Specifies the value to which the variable is to be set.


Examples

A default value is assigned to
!VAR1 and then it is asked if that is correct using the PROMPT command.

SET !VAR1 Barney
PROMPT What<SP>is<SP>your<SP>dogs<SP>name? !VAR1 {{!VAR1}}


See Also

PROMPT, CMDLINE





Page URL http://www.iopus.com/imacros/help/cmd_set.htm