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

Home » Public Forums » archive » Global chaos (was: Re: can i place a job advert)
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 chaos (was: Re: can i place a job advert) [message #28238] Wed, 28 November 2001 04:53
Struan Gray is currently offline  Struan Gray
Messages: 178
Registered: December 1995
Senior Member
Pavel A. Romashkin, pavel.romashkin@noaa.gov writes:

> 1. Common block
> 2. System variable
> 3. Run-time function
> 4. File
>
> Of these, Common blocks look the best to me.
> Any other ideas?

You can hack something together using XREGISTERED and the
XMANAGER. You are still using common blocks, but they're RSI common
blocks and the programmer doesn't have to get them right in every
single program file.

I use the system variable technique, storing the object reference
to an IDL_CONTAINER which acts as a dumping ground for user
information and preferences. A system variable is stable across
platforms and versions of IDL, and the container makes it easy to
extend and modify the information stored without having to find and
edit every single program file that uses the global information.


Struan
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: removing old IDL versions 5.5beta win2k
Next Topic: Re: PRINTER device, TV, and image position

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

Current Time: Wed Oct 08 15:17:09 PDT 2025

Total time taken to generate the page: 0.00593 seconds