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

Home » Public Forums » archive » Incorrect behavior of /NAN
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: Incorrect behavior of /NAN [message #30137 is a reply to message #30033] Sat, 06 April 2002 06:28 Go to previous messageGo to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article <MPG.171804089a266d298986e@news.frii.com>,
David Fanning <david@dfanning.com> wrote:

> "How many marbles are in the box?"
>
> "None. The box is full of cupcakes."
>
> Then the sum of marbles in the box is 0.

You English language statement is almost correct, but it
should be "the number of marbles in the box is 0".

Translating to IDL

i = WHERE(thingInBox EQ marble, numberOfMarbles)

not

numberOfMarbles = TOTAL(thingInBox, /NaMarble)

;-)

Ken
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Vector Field Plot on Irregular Grid
Next Topic: Vector Field Plot on Irregular Grid

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

Current Time: Wed Oct 08 17:24:33 PDT 2025

Total time taken to generate the page: 0.00439 seconds