Home »
Public Forums »
archive »
Defining system variables
Defining system variables [message #64] |
Wed, 07 August 1991 06:23 |
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
|
|
|
Current Time: Wed Oct 08 09:11:54 PDT 2025
Total time taken to generate the page: 0.00537 seconds