The DELVAR procedure deletes variables from the main IDL program level. DELVAR frees any memory used by the variable and removes it from the main program's symbol table. The following restrictions apply:
Suppose that the variable Q is defined at the main program level. Q can be deleted by entering: