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

Home » Public Forums » archive » Re: list manipulation
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: list manipulation [message #78804 is a reply to message #78803] Sun, 18 December 2011 04:33 Go to previous message
Vincent Sarago is currently offline  Vincent Sarago
Messages: 34
Registered: September 2011
Member
Hello Greg,


normally with the List object you have to use the 'FindValue' method :

IDL> A = indgen(10)
IDL> B = indgen(10) + 10
IDL> C = indgen(3) + 50
IDL> lis = list(a,b,c, /extract)
IDL> d = l.FindValue(10)
IDL> print, d
10


vincent
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: list manipulation
Next Topic: Extending or resizing array in IDL

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

Current Time: Fri Oct 10 06:22:53 PDT 2025

Total time taken to generate the page: 0.00397 seconds