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

Home » Public Forums » archive » Re: Evaluating a 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: Evaluating a variable [message #37814 is a reply to message #37724] Fri, 23 January 2004 01:35 Go to previous message
Richard is currently offline  Richard
Messages: 6
Registered: June 1994
Junior Member
David Fanning wrote:

> You could put your arrays into some kind of a list. (Something
> as simple as a pointer array might work, or you could use
> something like a linked list, if you want something more
> complicated.) I'd try something like this:
>
> myArrays = PtrArr(3)
> myArrays[0] = Ptr_New(array1, /No_Copy)
> myArrays[1] = Ptr_New(array2, /No_Copy)
> myArrays[2] = Ptr_New(array3, /No_Copy)
>
> Then, when you want an array to work with:
>
> thisarray = *(myArrays[arrayno])
>

Perfect - thank you very much.

Richard.
[Message index]
 
Read Message
Read Message
Previous Topic: Evaluating a variable
Next Topic: Full Image Display

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

Current Time: Sun Oct 12 04:49:01 PDT 2025

Total time taken to generate the page: 1.76084 seconds