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

Home » Public Forums » archive » Re: how to link the strname with the same name of variables
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: how to link the strname with the same name of variables [message #67368 is a reply to message #67271] Tue, 14 July 2009 10:29 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Tony schrieb:
> On Jul 14, 9:58 am, David Fanning <n...@dfanning.com> wrote:
>> Jean H. writes:
>>> Otherwise, have a look at SCOPE_VARFETCH It will allow you to retrieve
>>> the content of your variable.
>> Oh, my gosh. SCOPE_VARFETCH!? EXECUTE!? This is a person
>> who is just learning how to write a program! How about
>> letting him in on arrays, so he doesn't have to give
>> a unique name to every single variable in his program?
>>
>> 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.")
>
> Of course David is right, as long as all the variables are the same
> size. The 'execute' trick comes in handy if you have variables which
> are of different lengths and would not neatly fit into an array.
>
> Tony


/me hates evil EXECUTE
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: file_info not detecting write-protected files under windows (bug?)
Next Topic: how to link the strname with the same name of variables

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

Current Time: Wed Oct 08 18:15:13 PDT 2025

Total time taken to generate the page: 0.23682 seconds