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

Home » Public Forums » archive » Re: General help
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: General help [message #53314] Wed, 04 April 2007 03:00 Go to previous message
Paolo Grigis is currently offline  Paolo Grigis
Messages: 171
Registered: December 2003
Senior Member
D.Kochman@gmail.com wrote:
>
> [...]
>
> So lets say I do something like
>
> arr=DBLARR(51,dg.numberbins)
>
> It doesn't like it in my function, unless I define inside of it (the
> function) an initial value, despite the fact that the datastructure dg
> - has
>
> numberbins:double(1024.0) $
>
> And gives the error "array must be greater than 0"

That error message just means that dg.numberbins is 0 or a
negative scalar. Example:

IDL> print,dblarr(5,-2,3)
% Array dimensions must be greater than 0.

Ciao,
Paolo
[Message index]
 
Read Message
Read Message
Previous Topic: filling high resolution islands
Next Topic: Does IDL have a EOF(empirical orthogonal function)?

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

Current Time: Wed Oct 08 20:02:26 PDT 2025

Total time taken to generate the page: 0.03322 seconds