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

Home » Public Forums » archive » screwy system variables !?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
screwy system variables !? [message #6608] Thu, 25 July 1996 00:00
trujillo is currently offline  trujillo
Messages: 2
Registered: July 1996
Junior Member
When I try to compile/run it, I get the following error (unless I
manually define !tester at the command line first):
> % Not a legal system variable: !TESTER.

Now, I change the program to
> pro tester
> defsysv, "!tester", 222
> help, /system_variables ;this line indirectly tells me about !tester
> end

And it compiles and runs fine, and output suggests that the global
variable has been created: "!TESTER = 222". What the heck is
going on? Is this a bug? Why can't I use a system variable I have
just defined later in the same program? I'm using IDL version 4.0.1.
Maybe I should give up and use a more rational language like C/C++!

-Chad

chad@galileo.ifa.hawaii.edu
http://chipotle.ifa.hawaii.edu/~chad/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: A New " America Online"......$19.96\month Unlimited access!!!
Next Topic: screwy system variables !? [2]

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

Current Time: Fri Oct 10 09:52:54 PDT 2025

Total time taken to generate the page: 0.96003 seconds