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

Home » Public Forums » archive » Accessing numbered arrays
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: Accessing numbered arrays [message #93048 is a reply to message #93045] Fri, 15 April 2016 08:11 Go to previous messageGo to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Friday, April 15, 2016 at 3:46:40 AM UTC-4, Richard Morton wrote:
> Great, thanks for the advice. In this case I need the entire array but will bear EXECUTE in mind for other tasks.

Just a quick note that you can get the entire array with EXECUTE(). Instead of

FOR i=0,n DO temp=scope_varfetch('array'+strtrim(i,2))

you would write

FOR i=0,n DO res=execute('temp = array'+strtrim(i,2))
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 3d Interpolation
Next Topic: Walter and Lieth climate digram

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

Current Time: Wed Oct 08 16:12:59 PDT 2025

Total time taken to generate the page: 0.00349 seconds