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

Home » Public Forums » archive » Re: Common trouble
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 trouble [message #16785 is a reply to message #16745] Wed, 18 August 1999 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Kristian Kjaer (kristian.kjaer@risoe.dk) writes:

I should really leave this question to the common
block experts... :-)

> Q1: How do you delete a common block (other than by exiting IDL)?

You can't. Once declared, it's there forever. I hear
this may be changing in IDL 5.3.

> Q3: Should commons be avoided altogether in IDL ?

I'll defer. Let's just say they are WAY overused in
widget programs, in my humble opinion. But there is no
question they are useful in certain--I think
limited--situations.

> Q2: Why does this not work (got the same with IDL 5.1 on linux):

One of the rules of common block usage is that common
block variables cannot be arguments of procedures:

IDL> ? common blocks

From the error messages you are getting, I suspect the
parameters are somehow marked as a special "type" when
they come into the procedure that is different from the
type you expect them to be when you load them into common.
But this is pure speculation.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Philips Gyroscan ACS-NT: Raw data format
Next Topic: Re: time events?

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

Current Time: Tue Dec 02 14:46:10 PST 2025

Total time taken to generate the page: 0.79842 seconds