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

Home » Public Forums » archive » Re: newbie: multiple subarrays in array
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: newbie: multiple subarrays in array [message #31555 is a reply to message #31554] Mon, 15 July 2002 12:05 Go to previous messageGo to previous message
Ken Mankoff is currently offline  Ken Mankoff
Messages: 158
Registered: February 2000
Senior Member
On Mon, 15 Jul 2002, David Fanning wrote:

> Ken Mankoff (mankoff@I.HATE.SPAM.cs.colorado.edu) writes:
>
>> You can access the sub-array like this:
>>
>> good = where( data NE -9999 )
>> data = data[ good ]
>
> Ken is absolutely right, but because you are a newbie,
> I feel an obligation to get you started in the right
> direction. I would write the code like this:
>
> good = where( data NE -9999, count )
> IF count GT 0 THEN data = data[ good ]
>
> That will save you a couple of headaches down the road. :-)

Amen.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: newbie: multiple subarrays in array
Next Topic: ctd synchronizing script

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

Current Time: Thu Oct 09 07:21:41 PDT 2025

Total time taken to generate the page: 1.27827 seconds