Next: 12.11 Reading variables from Up: 12 VARIABLES Previous: 12.9.1 The SHOW command

12.10 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.



molpro@molpro.net
Oct 10, 2007