passing an array to a function

BlitzMax Forums/BlitzMax Beginners Area/passing an array to a function

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.

Haven't tested this but it looks to me like this doesn't do anything?

Try passing the array as a reference, something like

Function process_array:Int( array:Float[,] Var)
array[ 0, 0 ] = 123.456
End Function