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

Home » Public Forums » archive » Re: variables in common blocks
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: variables in common blocks [message #53876 is a reply to message #53874] Fri, 04 May 2007 07:42 Go to previous messageGo to previous message
lasse is currently offline  lasse
Messages: 48
Registered: February 2007
Member
On 4 May, 15:11, David Fanning <n...@dfanning.com> wrote:
> Lasse Clausen writes:
>> I won't be drawn into a discussion whether COMMON blocks are a good
>> things or not.
>
> Shoot. I thought my Friday troll was less transparent than that. :-)
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.

Ok. I'll describe what I am using common blocks for: Whatever day
during the week, I am doing one of the following:
1) read data
2) process data
3) plot data
Since there are many different ways to process or plot data, it is
nice to read the data into common blocks, so that when I decide to
process or plot the data differently, I do not have to read it in
again.

If you have an easy solution on how to avoid common blocks, shoot. And
why are common blocks bad? Is it the same reason "goto" statements are
bad?

Cheers
Lasse
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: limited angle CT
Next Topic: IDL number output format problem?

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

Current Time: Sat Nov 29 04:50:35 PST 2025

Total time taken to generate the page: 1.20132 seconds