manual   quickstart   instguide   update   basis

Next: 8.11 Reading variables from Up: 8 VARIABLES Previous: 8.9.1 The SHOW command   Contents   Index   PDF

8.10 Clearing variables

Variables can be deleted using

CLEAR,name1, name2, ...

Wild cards can be used as in SHOW, e.g.,


clears all variables whose names begin with ENERG. All variables can be cleared using


The length of vectors can be truncated simply by redefining the length specifier: #R=2 truncates the array R to length 2. Higher elements are no longer available (but could be redefined). Setting #R=0 is equivalent to the command CLEAR,R. 2018-06-21