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

Home » Public Forums » archive » Re: COMMON block question
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
Re: COMMON block question [message #23566] Tue, 30 January 2001 12:57
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
As far as I know (from trying), a program module that has access to a
common block just takes whatever item happens to be at that location and
tries to use it. It is not aware of the type or size of that variable.
All that matters is that the user knows what each program is supposed to
get from the common block and makes sure programs access variables in
common blocks in the right order. In other words, something like the
following does not work well:

pro one
common temp, a, b
a = 'this is a string'
b = 2.5
end

pro two
common temp, b
print, b*5
end

Cheers,
Pavel
Re: COMMON block question [message #23574 is a reply to message #23566] Tue, 30 January 2001 10:18 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Paul van Delst (pvandelst@ncep.noaa.gov) writes:

> Thanks for any insights. All metphysical replies forwarded to DF. :o)

My middle son had to interview me this week for a
history project he is doing in school. One of the
questions was "What is your definition of 'history'?"

I replied that after reading Julian Barbour's book
*The End of Time* and Ken Wilber's book *A Brief
History of Everything* that my view of history
had changed. I now believe there is no such thing
as time. That all we know is the eternal present.
That because of the way our consciousness is wired
that what appears to us to be "history" is simply
an illusion and convenient explanation for how we
happen to be *here*. Sort of a variation on the
parallel universe theory.

Guess it caused quite a stir yesterday when
Jonathan laid it all out for them at the
Junior High School. :-)

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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How to pick a window?
Next Topic: Shadows (Yet Another Object Graphics Question)

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

Current Time: Sat Oct 11 23:06:36 PDT 2025

Total time taken to generate the page: 1.27904 seconds