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

Home » Public Forums » archive » Defining 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
Defining system variables [message #64] Wed, 07 August 1991 06:23
fireman is currently offline  fireman
Messages: 49
Registered: August 1991
Member
I am attempting to create an IDL user environment that uses several
non-standard system variables. These variables will build upon one another;
that is, I will define one system variable, then use it to define others.

The problem I have is in compiling the initialization procedures. An
error occurs when an as-yet undefined system variable is referenced. I'd like
to be able to compile all procedures and define all system variables in one
pass. What is the proper order for compiling and executing these? I suppose
I'd want something like this:

pro define_it_all
.run pro_1
pro_1 ; defines !SYSVAR1
.run pro_2
pro_2 ; defines !SYSVAR2, using !SYSVAR1
return
end

But this gives me syntax errors. Same when I write this as a
main-level routine. When I use "@" instead of ".run" I have even more problems.
Does anyone out there know how to get this to work?

By the way, who is the moderator for this group?

Thanks,
Gwyn Fireman
Computer Sciences Corporation/ IUE Observatory
(301) 794-1560
IUEGTC::FIREMAN
fireman@iue.gsfc.nasa.gov
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Poor man's alternative to IDL available free
Next Topic: Postscript aggravation (RE: size)

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

Current Time: Wed Oct 08 13:29:29 PDT 2025

Total time taken to generate the page: 0.38442 seconds