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

Home » Public Forums » archive » using of EXECUTE???
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: using of EXECUTE??? [message #7421 is a reply to message #7370] Tue, 12 November 1996 00:00 Go to previous messageGo to previous message
alpha is currently offline  alpha
Messages: 49
Registered: September 1996
Member
Christian Soeller <csoelle@sghms.ac.uk> writes:
> Peter Mason <peterm@demsyd.syd.dem.csiro.au> writes:

>> In your example above, the only extra facility that EXECUTE gives you which
>> you wouldn't get by simply doing SOME_VARNAME=FINDGEN(DIM_OF_ARRAY) is
>> indirect specification of the array's name. I think that this is really a
>> disadvantage - your program would always have to go via EXECUTE('some op
>> referencing name_of_array') to USE this new array, as it would only know the
>> array's name indirectly.
> I strongly support Peter's comment. It is not clear to me what you really
> gain by doing variable creation like this. The approach somehow seems to
> be inspired by a C-like malloc idea which doesn't sound like such a great
> idea within IDL. So I am still waiting for the great example which demonstrates
> the big advantage of doing a findgen via execute?

ok! I understand your points, but imagine you have 500 Arrays (more than 420!)
with variable sizes and 500 descirbing structures with variable tags with
in these structures, how you would organize them with IDL in your machine???

OK! I know, I will have to write 4 routines:

a) Load from Disk to SOME_VARNAME
b) save to disk from SOME_VARNAME
c) get values from SOME_VARNAME
d) put values to SOME_VARNAME

ad and bc will be similar....

cd i want to manage as functions...
ab as procedures


ok, but the problem is discussed sufficant for me now.. or is there something
with ROUTINE_NAME and some undocumented KEYWORDS like FETCH or VARIABLE or ???
that could be useful?

thanks a lot up to here! without internet it cost me a lot of days i estimate!

Hendrik

--
Panther in the Jungle __..--''``\--....___ _..,_
-BELIEVE AND DECEIVE- _.-' .-/"; ` ``<._ ``-+'~=.
http://www.ang-physik _.-' _..--.'_ \ `(^) )
.uni-kiel.de/~hendrik ((..-' (< _ ;_..__ ; `'
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SGI and IDLTOOL Problems
Next Topic: Re: Inverse of POLYFILLV

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

Current Time: Sat Oct 11 10:27:52 PDT 2025

Total time taken to generate the page: 1.43954 seconds