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

Home » Public Forums » archive » Re: Out of range subscript encountered:
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: Out of range subscript encountered: [message #69936 is a reply to message #69935] Tue, 23 February 2010 10:02 Go to previous message
jeanh is currently offline  jeanh
Messages: 79
Registered: November 2009
Member
On 23/02/2010 12:51 PM, Katie Burnett wrote:
> du = FLTARR(84,56)
> FOR k=0,26 DO BEGIN
> FOR i=0,82 DO BEGIN
> FOR j=0,54 DO BEGIN
> du[i,j] = (u_400[i+1,j]-u_400[i,j])/(2*dx)
> ENDFOR
> ENDFOR
> ENDFOR

Hi,

could it be that dx is not a scalar but an array?

Jean
[Message index]
 
Read Message
Read Message
Previous Topic: Out of range subscript encountered:
Next Topic: How to get matching elements of array efficiently

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

Current Time: Mon Dec 01 00:58:38 PST 2025

Total time taken to generate the page: 0.40090 seconds