View Single Post
  #2 (permalink)  
Old 07-03-2009, 02:18 PM
Erel's Avatar
Erel Erel is offline
Administrator
 
Join Date: Apr 2007
Posts: 13,119
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

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 :
Code:
Sub MakeSprite(num)
 len = ArrayLen(data())
  
Dim data(len)
End Sub
__________________
Basic4android documentation
Reply With Quote