Subscript issues


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Jeff Cinelli on February 11, 2011 at 05:19:09:

Running Comet32, 611.428. It seems that the first subscript in a double subscripted array cant be set once it reaches 232, regardless of the size of the variable, or the second dimension in the array.

Using the code below, the program stops with an array subscript out of range message when A hits 232 and B hits 1.

Whats even stranger is when I change the array definition and the loop from 999 to 300, the program crashes when A hits 45 and B hits 1.

LENGTH 5.2 & LOCAL VAR(999,10)
LENGTH 4.0 & LOCAL A,B
2500 FORMAT @(0,0);A;B
CLEAR
FOR A=1 TO 999
FOR B=1 TO 10
PRINT (0,2500)
VAR(A,B)=A+B
NEXT B
NEXT A
RUN 'QMONITOR'


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]