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

Home » Public Forums » archive » Re: Changing common variable definition
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Changing common variable definition [message #2557] Tue, 26 July 1994 06:42 Go to previous message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
larkum@optolab.unibe.ch (Matthew Larkum) writes:

> ... I don't want to have
> different common variable definitions in different modules, I
> simply want to be able to add a variable to all modules, recompile
> and proceed. ...

> The only way I know to continue at the moment is to exit and
> restart. This happens running IDL for windows and PV-Wave 4.01
> on a Sun workstation.

> I'm sure there's something I don't understand, but I can't find
> anything about it in the manual or the FAQ.

No, you understand it correctly. One thing I can suggest, if you want to be
able to add variables to common blocks after they're defined, is to encapsulate
your variables into an anonymous structure. You could then redefine this
structure (as long as it's anonymous) to your heart's content.

The release notes for IDL 3.6 says that you can now nest anonymous structures.
Hurray!!!

Bill Thompson
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: REQ: Color Selection Tool
Next Topic: Finding common elements in two arrays

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

Current Time: Fri Oct 10 10:54:28 PDT 2025

Total time taken to generate the page: 0.80030 seconds