Thursday, August 21, 2008

Clearing AIPS Variables?

During my recent forays into AIPS scripting, I have often wanted to change how a variable is defined...say by changing an array from dimensions of 50 to 200. When I try to do this, AIPS tells me that the variable is 'ALREADY DF' (or defined, i'm guessing). Is there some way to clear a variable?

Well, I just thought to do a 'RESTORE 0', which seems to clear everything. So maybe that it is the best solution?


1 comment:

amanda said...

Two commands that are helpful are COMPRESS (to get rid of old versions of your script which are still in memory) and SCRATCH (to get rid of old procedures. The command HELP PROCS gives you a list of currently procedures. I haven't figured out how to get rid of old adverbs.