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

Home » Public Forums » archive » Re: How to solve this problem?
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: How to solve this problem? [message #34753 is a reply to message #34752] Thu, 10 April 2003 20:36 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
tomson (tom2959@21cn.com) writes:

> for i=0,n_elements(y)-1 do begin
> .......
> endfor
>
>
> ERROR MESSAGE:
> Loop limit expression too large for loop variable type.
> <LONG ( 60214)>.
>
> But my program cannot do without that loop.

Make your loop variable a long integer:

FOR I=0L, N_Elements(y)-1 DO BEGIN

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: NetCDF I/O problems
Next Topic: socket generated event

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

Current Time: Sat Oct 11 14:36:33 PDT 2025

Total time taken to generate the page: 1.67932 seconds