Utilities/
undefine.pro
erase a variable
same thing like DELVAR but usable in a program and usable
for one variable simultaneously
undefine
Utilities
undefine, varname
Parameters
varname
in
required
The name of the variable we want erase
Examples
IDL> a=1
IDL> undefine,a
% Compiled module: UNDEFINE.
IDL> help, a
A UNDEFINED =
Version history
Version
$Id: undefine.pro 389 2009-01-27 08:59:35Z smasson $
History
trouve sur la page web de D.Fanning
:
QUESTION: How do I make an IDL variable have a type "undefined"?
ANSWER: At the main IDL level you can use the IDL procedure DELVAR to
delete an IDL variable and make it undefined. Inside of procedures
and functions, I use this little program named undefine that I got
from Andrew Cool at the DSTO High Frequency Radar Division in
Adelaide, Australia.
Produced by IDLdoc 2.0.