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

Home » Public Forums » archive » Common block conumdrum
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: Common block conumdrum [message #8431 is a reply to message #8355] Tue, 04 March 1997 00:00 Go to previous messageGo to previous message
wonko is currently offline  wonko
Messages: 22
Registered: March 1997
Junior Member
williams@skrymir.srl.caltech.edu (Daniel Williams) wrote:

> When developing programs in IDL, I often work with common blocks.
> However, if I try to change the definition of an existing common
> block, I get an error because it IDL thinks that I am trying to use a
> pre-existing common block in a naughty manner. According to the
> user's manual (v3.6 p6-10) this is what IDL should do.
> However, when creating new programs, I often want to change the
> definition of the common block as the program developes. How can I do
> this, short of exiting IDL and starting over? Is there some "delvar"
> equivalent for deleting common blocks or programs from memory?

I don't think there is any. So I just exit IDL and restart -- our SUNs
are getting faster and faster :)
Another idea would be the usage of global variables. They can be created
and changed with DEFSYSV at the main level.
I usually prefer this, only in my actual project I use common blocks,
just out of curiousity, I wanted to know what's so hot about them. Are
there drawbacks I don't see?

Alex
--
Alex Schuster Wonko@weird.cologne.de
alex@pet.mpin-koeln.mpg.de
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Command line history in IDLWAVE shell
Next Topic: Debugging overload

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

Current Time: Fri Oct 10 14:45:20 PDT 2025

Total time taken to generate the page: 2.04222 seconds