File: explain_sto_rcl_clr.rst_

package info (click to toggle)
gmt 5.3.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 150,460 kB
  • ctags: 18,539
  • sloc: ansic: 194,217; sh: 7,349; xml: 149; makefile: 72; fortran: 49; lisp: 41; csh: 5
file content (12 lines) | stat: -rw-r--r-- 667 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
STORE, RECALL and CLEAR
-----------------------

You may store intermediate calculations to a named variable that you may
recall and place on the stack at a later time. This is useful if you
need access to a computed quantity many times in your expression as it
will shorten the overall expression and improve readability. To save a
result you use the special operator **STO**\ @\ *label*, where *label*
is the name you choose to give the quantity. To recall the stored result
to the stack at a later time, use [**RCL**\ ]@\ *label*, i.e., **RCL**
is optional. To clear memory you may use **CLR**\ @\ *label*. Note that
**STO** and **CLR** leave the stack unchanged.