Utilities/
testvar.pro
A kind of keyword_set but when the value exist, it send it back.
testvar
Utilities
result = testvar(var=var)
Return value
0 if the variable does not exist
Keywords
var
any kind of
Examples
IDL> print, testvar(var=toto)
0
IDL> print, testvar(var='toto')
toto
Version history
Version
$Id: testvar.pro 231 2007-03-19 17:15:51Z pinsard $
History
Sebastien Masson (smasson@lodyc.jussieu.fr)
14/12/1999
Produced by IDLdoc 2.0.