Passing arrays as perameters to a function

Blitz3D Forums/Blitz3D Beginners Area/Passing arrays as perameters to a function

This has been covered a million times before, but..

You can pass 'blitz' arrays to functions, like this:
Local a[20]

blah a
Print a[10]
End

Function blah(b[20])
	b[10] = 501
End Function

Note that they are single dimensional and cannot be resized, but you can store them in Type objects:
Type thing
Field a[20]
End Type