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

Home » Public Forums » archive » Re: 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 #26746 is a reply to message #26745] Mon, 24 September 2001 07:58 Go to previous message
Jaco van Gorkom is currently offline  Jaco van Gorkom
Messages: 97
Registered: November 2000
Member
Lasse Clausen wrote:
> 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?

A = A[0] should do the trick.
More fancy: if n_elements(A) eq 1 then A = A[0]

Jaco
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Making draw widget areas that are bigger than the screen area
Next Topic: Re: map_set, state county borders

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

Current Time: Sun Oct 12 12:10:20 PDT 2025

Total time taken to generate the page: 1.92884 seconds