VAR


Next: WHILE Up: COD Command Summary Previous: UNTIL

VAR

Define the following token to be a new variable name. The variable name is not allowed to match any existing COD keyword. When that variable is used in the future, it will cause the address of that variable to be loaded into the stack (for use with a following STO or RCL command).

Example:

 0.0
COD> VAR 2PI 2 PI * 2PI STO
 0.0
COD> 2PI RCL
 0.0 6.283185



Web Page Maintained by: Dr. Lawrence E. Brown elwin@redshift.gsfc.nasa.gov