E.g
- Global Dim JewColors(6)
Global Jewels = LoadImage(#PB_Any,"graphics\Jewels.bmp")
For x = 0 To 6
Jewcolors(x) =CreateImage(#PB_Any,32,32)
GrabImage(JewColors(x),Jewels,(x*32)+1,y,(x*32)+32,y+31)
Next
In this example code grabed from source. #PB_any give in the first line a number of 28732912 This is higher then the 100000 is given by the compiler. But the compiler is not complaining about it. Then in the for next loop. The first Array element Jewcolors(0) got a number 28706608. Still no warning from the compiler. Then the next line GrabImage is comming and the compiler start Asking if this is the right number cause its higher then 100 000 and halted the compiling. In the documentation state that i can use the #PB_Any. And when i check the variables all of them are higher then the limit of 100000. There is absolute no problem, only when using a Array this problem is occuring.
Is there a work around for or is this solved in the next release.