Mac OS X Lion:Arrays in objects not properly init
Archives Forums/BlitzMax Bug Reports/Mac OS X Lion:Arrays in objects not properly init
| ||
I have some very simple objects initialized into arrays for my game. The following code compiled fine on previous versions of Mac OS X and BlitzMax.SuperStrict Type TTile EndType Type TScreen Field tiles:TTile[25, 19] EndType Local newScreen:TScreen = New TScreen Local x:Int = 0 Local y:Int = 0 newScreen.tiles[x, y] = New TTile This code throws the following error on the last line: Unhandled Exception:Attempt to index array element beyond array length |
| ||
Me again.... (like on the other thread about load sound) And the same error than you with has OS X Lion ! :-) |
| ||
i have just updated to the latest blitzmax and have this problem with code i am sure was working before. |
| ||
toc toc... is there still someone working on the bugs of BM ??? Since weeks... no news.... |
| ||
i have just gone back to BlitzMax 1.43b witch is working fine for my needs. i am sure there will be a fix next update. it is a bit of an odd one |
| ||
It doesn't even have to be an array in an object. Just a regular 2D array is sufficient to cause the error. |