Dim Arrays Problem?
Blitz3D Forums/Blitz3D Beginners Area/Dim Arrays Problem?
| ||
| Hiya all, I keep getting error saying "Expecting End of the line" The code I was doing this
Graphics 1024,768
SetBuffer BackBuffer()
Dim pic(5)
Global pic(1)=LoadAnimImage("Viper.JPG",1024,1,0,768) ;<< Error!
so having dim arrys with global mean I cant do that...correct me if I am wrong. |
| ||
| You don't need to declare them global. They're automatically global. |
| ||
| Oh right I see. well the code I used Functions which why I used Global for it. now you have said "automatically global" thank you very much |