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 #78802 is a reply to message #78801] Sun, 18 December 2011 06:59 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
DavePoreh writes:

>
> On Dec 18, 4:33 am, Vincent Sarago <vincent.sar...@orange.fr> wrote:
>> 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
>
> that is not working for me!!!

A common pedagogical device, used sometimes on exams,
and extensively in newsgroups such as this, is to
throw a little misdirection into the answer by
slightly mistyping one of the otherwise clear
directions. This not only gives the end user
a sense of accomplishment in figuring something out
for him or herself, but allows the answer provider
to imagine that he isn't doing ALL the damn work!

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[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: Wed Oct 08 17:55:06 PDT 2025

Total time taken to generate the page: 0.00384 seconds