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

Home » Public Forums » archive » global variables in IDL
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
global variables in IDL [message #28655] Tue, 25 December 2001 05:57
Gert is currently offline  Gert
Messages: 11
Registered: December 2001
Junior Member
Hi,

I want to keep some global variables in an IDL program containing different
widgets without having to pass the variables each time a new base widget is
created. It can be done with common blocks, but then you can have only 1
instance of the program running.
I was thinking of creating a widget (called Globals) and copy the variables
in a struct to its uvalue. If another widget then wants these variables, I
need to get a widget identifier to Globals and retrieve the struct. But how
can I get this widget identifier?
Any help is appreciated...

Gert
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Trance-Formation of America: Trance-Formation of America: The Most Dangerous Game (excerpt #3)
Next Topic: skew-t log p diagrams in IDL

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

Current Time: Wed Oct 08 14:00:10 PDT 2025

Total time taken to generate the page: 0.00500 seconds