.RNEW
The .RNEW command compiles and saves procedures and functions in the same manner as .RUN. In addition, all variables in the main program unit, except those in common blocks, are erased. The -T and -L filename switches have the same effect as with .RUN.
Note: .RNEW is an executive command. Executive commands can only be used at the IDL command prompt, not in programs.
Example
Some statements using the .RUN and .RNEW commands are shown below.
Statement |
Description |
|
Accept a program from the keyboard. Retain the present variables. |
|
Compile the file |
|
Compile the files |
|
Erase all variables and compile the files |
Syntax
.RNEW [File1, ..., Filen]
To save listing in a file:
.RNEW -L ListFile.lisFile1 [, File2, ..., Filen]
To display listing on screen:
.RNEW -T File1 [, File2, ..., Filen]