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 #34723 is a reply to message #34720] Tue, 15 April 2003 07:12 Go to previous messageGo to previous message
Ken Knapp is currently offline  Ken Knapp
Messages: 14
Registered: April 2003
Junior Member
tomson wrote:
>
> for i=0,n_elements(y)-1 do begin
> .......
> endfor

It looks like it sets i to an integer, whereas it should be a long for
such a large number, so try:

for i=0l,n_elements(y)-1 do begin
.......
endfor

[that problem got me a while back and I panicked at first too]
Hope this helps.
-Ken

--
<>< <>< <>< <>< <>< <>< <>< <><
Kenneth Knapp CIRA Visiting Scientist
NOAA/NESDIS/ORA Ken.Knapp@noaa.gov
E/RA1, RM 711C, WWBG Phone:301-763-8053x195
5200 Auth Rd. Fax:301-763-8108
Camp Springs, MD 20746-4304
[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: Sun Oct 12 12:11:00 PDT 2025

Total time taken to generate the page: 3.60780 seconds