STO


Next: SWap Up: COD Command Summary Previous: SQrt

STO

Store the previous number at the address given at the top of the stack. Although it is easy to determine the address associated with a given variable, and hence use that address directly, it is advisable always to use a variable name to load an address into the stack before using STO.

Example:

 1.0
COD> VAR TMP
 1.0
COD> 5 TMP STO
 1.0
COD> TMP RCL
 1.0 5.0



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