Returning Blitz Arrays from Functions

Blitz3D Forums/Blitz3D Beginners Area/Returning Blitz Arrays from Functions

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.

well, for one a[2] is global
second...my code tries to take two vectors (v[3] and f[3]) and return the resultant f2[3]

I might figure out a way to use what you were talking about to work around my problem...

EDIT:
I got it working!

For anyone else, the way you do it is to pass the array you want returned and simply do your calculations with the others and change the values of the "returning" array.