[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
IDL System Variables from C
- Subject: IDL System Variables from C
 
- From: Ed Santiago <esm(at)lanl.gov>
 
- Date: 05 Dec 2000 17:22:01 -0700
 
- Newsgroups: comp.lang.idl-pvwave
 
- Organization: University of Oregon, Eugene
 
- User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)
 
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:22465
 
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!