Previous SAXO Documentation Assistant: Overview Next

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 371 2008-08-07 09:32:02Z pinsard $

History

Sebastien Masson (smasson@lodyc.jussieu.fr) 14/12/1999

 


  Produced by IDLdoc 2.0.