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 #82574 is a reply to message #82571] Thu, 20 December 2012 13:44 Go to previous messageGo to previous message
astroboy.20000 is currently offline  astroboy.20000
Messages: 39
Registered: August 2012
Member
On Thursday, December 20, 2012 3:28:45 PM UTC-5, Craig Markwardt wrote:
> On Thursday, December 20, 2012 2:38:00 PM UTC-5, Bob Plano wrote:
>

>
> You can only set the dimensions of a system variable once, the first time you initialize it. You can get around it using a pointer.
>
>
>
> It sounds to me you are trying to use a system variable like a common block (i.e. global variable). See if you an rethink how you do it without a system variable, because it will probably come back to bite you.
>
>
>
> Craig


Thanks Craig,


I have a program that I call in nearly every program I write, that defines about one hundred global variables, such as the date, time, working directory, default color table, etc., using the defsysv command. In any given program I'd use only a handful of these, but I wouldn't necessarily know which ones until the program was finished.

Based on David's books, it seems to me that using a common block in such a case would be a real pain.

Am I missing something as regards global variables?

Thanks,

Mark
[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 04:06:36 PDT 2025

Total time taken to generate the page: 1.35938 seconds