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

Home » Public Forums » archive » kind of bewildered
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: kind of bewildered [message #26748 is a reply to message #26747] Wed, 19 September 2001 02:07 Go to previous message
Lasse Clausen is currently offline  Lasse Clausen
Messages: 22
Registered: August 2001
Junior Member
Lasse Clausen wrote:
>
> I have the following code:
> IDL> .run
> - data=['12.04','13.04','14.04']
> - A= FLOAT(DATA[WHERE(DATA EQ FLOAT('13.04'))])
> - print,size(FINDGEN(10.)+A)
> - end
> % Compiled module: $MAIN$.
> 1 1 4 1
>
> Why the hack do I not get an vector of size 10?!

Ok, i noticed that A is not a scalar but a array with just one entry.
can i 'cenvert' such an one-dimensional array into a scalar?
[Message index]
 
Read Message
Read Message
Previous Topic: ENVI 3.2 mosaicking error
Next Topic: Variable undefined after while-cycle?

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

Current Time: Sun Oct 12 11:55:30 PDT 2025

Total time taken to generate the page: 2.00162 seconds