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 #7436 is a reply to message #7370] Tue, 12 November 1996 00:00 Go to previous message
Christian Soeller is currently offline  Christian Soeller
Messages: 46
Registered: August 1996
Member
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?


Regards,

Christian

------------------------------------------------------------ --------
Christian Soeller mailto: csoelle@sghms.ac.uk
St. Georges Hospital Medical School Dept. of Pharmacology
Cranmer Terrace London SW17 0RE
[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: Wed Oct 08 19:34:04 PDT 2025

Total time taken to generate the page: 0.00444 seconds