Skip to main content

#SET

#SET( symbol, expression );

symbolThe name of a previously declared user-defined symbol.
expressionThe expression whose value to assign to the symbol.

The #SET statement assigns the value of the expression to the symbol, overwriting any previous value the symbol had contained.

Example:

  #DECLARE(MySymbol); //declare a symbol named "MySymbol"
  #SET(MySymbol,1);   //initialize MySymbol to 1 

See Also: #DECLARE, #APPEND