Imitate Procedures/Methods in Blitz

Blitz3D Forums/Blitz3D Beginners Area/Imitate Procedures/Methods in Blitz

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

You can pass Blitz Arrays into functions (or even Blitz Arrays in Types).

Local a[3]
a[1] = 20
Print a[1]
DoThing(a)
Print a[1]
WaitKey
End


Function DoThing(b[3])
b[1] = 45
;do stuff
End Function