Array pointer function passing

BlitzMax Forums/BlitzMax Programming/Array pointer function passing

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.

If I use this:
Local a:Object[4, 2]

func(a)

Function func(b:Object[,])
End Function


The array should be passed as a pointer (instead of copying it), correct?

Also, is there a way to extract (using splicing) a section of a 2d array?