Contents - Index


Assign (Macro Command)

 

Assign EESVariable=value

Assign a numerical EES variable to a value or an expression involving predefined variables and values.  The variable remains assigned to this value until it is reassigned in the macro.  A variable assigned with a macro command cannot be reassigned in the Equations window.   Note that the keyword Assign is optional.

 

 

Assign EESStringVar$='string constant'

Assign an EES string variable to a string constant.  The string variable must have a name that ends in a $ character.  The string constant is contained with in single quotes.  String variables can be used as filenames in the SaveTable and other file-related macro commands. The Assign keyword is optional.

 

 

Examples:

 

Assign X=34

Assign R$='CarbonDioxide'

 

 

MacroCommands