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

Home » Public Forums » archive » Error-Emergecy
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: Error-Emergecy [message #91936 is a reply to message #91935] Sun, 20 September 2015 09:47 Go to previous message
Jim  Pendleton is currently offline  Jim Pendleton
Messages: 165
Registered: November 2011
Senior Member
On Sunday, September 20, 2015 at 9:07:38 AM UTC-6, Joyrles Fernandes wrote:
> When I put the comand:
> "FOR x=0, N_ELEMENTS(FILE)-1 DO begin
>
> IF ((MONTH[i] EQ MONTH2[x]) AND (DAY[i] EQ DAY2[x])) then begin
> printf, u, year(i),month(i), day(i), hour(i), minute(i), hour2(x), minute2(x)
> endif
> endfor"
>
> Appear the message:
>
> 'Attempt to subscript MONTH2 with X is out of range.'
>
> How Do I fix it?

This will give you a start:

help, month2, n_elements(file)
[Message index]
 
Read Message
Read Message
Previous Topic: Time
Next Topic: READ IMAGE

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

Current Time: Wed Oct 08 15:16:42 PDT 2025

Total time taken to generate the page: 0.00412 seconds