passing an array to a function

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

Just tested it and it seems like BlitzMax handles passed arrays by reference, just like it does with objects.

Regular types like integers, floats, doubles and strings are only passed by reference if you add Var in the function declaration.