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

Home » Public Forums » archive » Re: resizing system variable
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: resizing system variable [message #82569 is a reply to message #82568] Thu, 20 December 2012 21:06 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Craig Markwardt writes:

> Actually, I think that David would argue that system variables
> are inappropriate for use as global variables for exactly
> the same reason as common blocks. Global variables can
> pin you down in painful ways when you try to scale/enhance
> your program.
>
> [ Don't tell David I mentioned this, but common blocks
> are actually more flexible than system variables because
> common block variables can be redefined - even redimensioned
> whenever you wish. ]

You know I'm standing here, right?

> You've got a system that works, I would stick with it now.
>
> When designing a new system, I usually define a structure
> with all of those quantities and then pass that structure around.

I wish I knew my own mind as well as everyone else seems
to know it. I'm pretty sure you could count the times I have
used a common block on one hand. But, truthfully, I could
say the same about defining my own system variable.

I suppose I would use them more if I could think of some
good reason to do so. But, nothing seems to come to mind. ;-)

> [ Actually, if I were designing my IDL library from scratch, I would start with Python. :-]

You guys really do make me smile, you know. I wish all of you
a Happy Christmas and a Merry New Year!

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Get values from one image according to pixel locations of maxima on another image
Next Topic: DejaVuSans Font and the Sun Symbol

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

Current Time: Fri Oct 10 10:35:53 PDT 2025

Total time taken to generate the page: 0.55863 seconds