Thanks Andy. For some reason the Dim handling code removed the declared variable before running the inner code. Will be fixed in the next update.
I'm sure that you know the workaround, but for other users :
B4X:
Sub MakeSprite(num)
len = ArrayLen(data())
Dim data(len)
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.