Hi!
That piece of code works only in DEBUG-Mode, in RELEASEMode i get this error:
java.lang.ClassCastException: java.lang.Object[] cannot be cast to java.lang.String[]
I have to use the following code to get it work in RELEASE Mode:
Is this a known behavior?
DeKo
B4X:
Dim prg() As String = Array("-","\","|","/")
That piece of code works only in DEBUG-Mode, in RELEASEMode i get this error:
java.lang.ClassCastException: java.lang.Object[] cannot be cast to java.lang.String[]
I have to use the following code to get it work in RELEASE Mode:
B4X:
Dim prg(4) As String
prg(0) = "-"
prg(1) = "\"
prg(2) = "|"
prg(3) = "/"
Is this a known behavior?
DeKo