[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IDL System Variables from C




Can one access the definition of a random "system variable" from C?

My IDL code defines a system variable, say !FOO, using DefSysV.  I
then want to read !FOO's value from C/DLM code.

This doesn't appear to be possible.  The likely candidates don't work:

   IDL_GetVarAddr("!FOO")             returns NULL.

   IDL_FindNamedVariable("!FOO", 0)   returns a VPTR... to an UNDEF variable.

A search for "sysv" in export.h doesn't find anything apropos.

I'm stumped.  Any suggestions?

Thanks,
^E
-- 
Eduardo Santiago    Software Type     esm@lanl.gov                   RKBA!