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

Home » Public Forums » archive » Re: Access array elements with String
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: Access array elements with String [message #61350 is a reply to message #61349] Mon, 14 July 2008 12:44 Go to previous messageGo to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
>
> b=INDGEN(s(3))
> print, a[c,c,b]
>
> might be more efficient - dunno, haven't tested.

You would have to reformat (i.e. repeat the value) c so it has the same
size as b.

Jean
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL 7 bookmarks
Next Topic: Re: centering dialog_pickfile, printersetup, etc...

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

Current Time: Wed Oct 08 17:32:46 PDT 2025

Total time taken to generate the page: 0.00186 seconds