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

Home » Public Forums » archive » FINITE function
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: FINITE function [message #90056 is a reply to message #90054] Wed, 21 January 2015 05:53 Go to previous messageGo to previous message
andeh is currently offline  andeh
Messages: 23
Registered: April 2011
Junior Member
On Wednesday, 21 January 2015 13:49:52 UTC, AJAS wrote:
> On Wednesday, 21 January 2015 13:35:13 UTC, g.na...@gmail.com wrote:
>> I've got a quite old version of IDL 6.4. And I got the error that Keyword COUNT not allowed in call to: WHERE
>
> Ok.
>
> Then just test that the first element of the returned array w is not -1.
>
> w = WHERE( FINITE(Barray,/INFINITY,SIGN=1) )
> IF w[0] NE -1 THEN PRINT, w

Oh, my bad. I misremembered the WHERE command. COUNT is a parameter, not a keyword.

Does,
w = WHERE( FINITE(Barray,/INFINITY, SIGN=1), count )
work?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: FIGLIO DI PUTTANA, MANDANTE DI OMICIDI: PAOLO BARRAI DI CRIMINALI WMO, BSI ITALIA SRL, BLOG "MERDATO" LIBERO! MINACCIA DI MORTE CHI LO FOTOGRAFA E SE "COSTUI" INSISTE, L'OMICIDA PAOLO BARRAI FA UCCIDERE O "SUICIDARE" DAVVERO!
Next Topic: map function for astronomy

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

Current Time: Thu Oct 09 11:44:21 PDT 2025

Total time taken to generate the page: 1.35713 seconds