Sub Globals
Dim aFred(x,y), aTest(x,y) As Int
End Sub
Sub Activity_Create(FirstTime As Boolean)
x=45: y=45
aFred(20,20)=1 : aFred(21,20)=1 : aFred(21,20)=1
'The above line pauses LastExeption java.lang.ArrayIndex out of bounds
...
End Sub
Sub Draw(aWhich(,) As Int)
Dim b As Int
If (aWhich=aFred) Then b=b+1 'I removed this to run and got the pause error above
...
End Sub