comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Defining system variables
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Defining system variables [message #61 is a reply to message #58] Thu, 08 August 1991 13:51 Go to previous message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
In article <6060@dftsrv.gsfc.nasa.gov>, fireman@stars.gsfc.nasa.gov (Gwyn
Fireman) writes...

> I am attempting to create an IDL user environment that uses several
> non-standard system variables. ...
> The problem I have is in compiling the initialization procedures. An
> error occurs when an as-yet undefined system variable is referenced. ...

My suggestion is to use the IDL EXECUTE function for those lines referencing
the as yet undefined system variables. For example,

...
DEFSYSV,'!SYSVAR1','11'
TEST = EXECUTE("DEFSYSV,'!SYSVAR2','2*!SYSVAR1'")

Note the two different kinds of quotes used. This is, admittedly, a little
clumsy.

Bill Thompson
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Code area full?
Next Topic: Problem with REGRESS.PRO

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 05:19:00 PDT 2025

Total time taken to generate the page: 0.96206 seconds