const bug

Archives Forums/BlitzMax Bug Reports/const bug

dmaz(Posted 2009) [#1]
this code runs fine on windows in either debug or release. it also runs fine in debug on Mac, in release however, it doesn't.
Const str:String = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
x = 2
Print str[x]


changing "Const" to local or global fixes the problem.