<<prev file | next file >>    view single page | view frames    summary: fields | routine    details: routine

Utilities/

testvar.pro

A kind of keyword_set but when the value exist, it send it back

toptestvar utlities

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 136 2006-07-10 15:20:19Z pinsard $

History

Sebastien Masson (smasson@lodyc.jussieu.fr) 14/12/1999
Produced by IDLdoc 2.0.