arrays as variables

BlitzMax Forums/BlitzMax Programming/arrays as variables

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.

hm, would it be faster to pass the token array in as a pointer (reference)?
I thought that's what arrays did by default? Anyways, I think he was passing it like this aFunction(["token", "token", "tokens...etc"]) so for some reason the compiler decided to create a new array everytime that call was made instead of recognizing the constantiality (is that a word? :P) of the array being passed.