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

Home » Public Forums » archive » Re: arrays as subscripts
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: arrays as subscripts [message #30780] Fri, 17 May 2002 13:38 Go to previous message
lyubo is currently offline  lyubo
Messages: 34
Registered: March 2002
Member
Thanks for your help!

Lyubo


"David Fanning" <david@dfanning.com> wrote in message
news:MPG.174e651d56947d449898e0@news.frii.com...
> Marshall Perrin (mperrin+news@arkham.berkeley.edu) writes:
>
>> He said a new array, though, for the last one, so something like
>>
>> newarr = fltarr(n_elements(B)) ; or whatever type of arr it is
>> I = Where(A GT 0, count)
>> IF count GT 0 THEN BEGIN
>> newarr[i] = c[b[i]]
>> ENDIF
>>
>> I think that's what he was getting at...
>
> Uh, right. I went a beer too far. :-(
>
> Cheshers,
>
> David
>
> --
> David W. Fanning, Ph.D.
> Fanning Software Consulting
> Phone: 970-221-0438, E-mail: david@dfanning.com
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Digital maintenance handbook
Next Topic: Re: Digital maintenance handbook

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

Current Time: Fri Oct 10 14:02:27 PDT 2025

Total time taken to generate the page: 1.75822 seconds