Next: 11 TABLES AND PLOTTING Up: 10 VARIABLES Previous: 10.7.1 The SHOW command

10.8 Clearing variables

Variables can be deleted using

CLEAR,name1, name2, ...

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

CLEAR,ENERG*

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

CLEARALL

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.



P.J. Knowles and H.-J. Werner
molpro@tc.bham.ac.uk
Jan 15, 2002