Can't Dim an array inside a Function?

Blitz3D Forums/Blitz3D Beginners Area/Can't Dim an array inside a Function?

standard arrays are always global. You can define "Blitz Arrays" inside a function. Just define them as a local variable and use square brackets. EG:

Local TempArray[100]



It's an undocumented command, but it's unlikely to be removed because many, many people use them.

Check here for more of an explanation:

http://www.blitzcoder.com/cgi-bin/code/code_showentry.pl?id=thechange09052002191420&comments=no