Functions and returns

Blitz3D Forums/Blitz3D Programming/Functions and returns

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.

yes i found that it's impossible to return an array, but a shame it is. cause now i have to do..

----------------
dim doSomethingArray(3)

doSomething(4,4,4) ; a function
x = doSomethingArray(1) ; the calc values
----------------

I normaly code i director, where we have a Vector variable. means we can do this...

var = vector(43,3,3)
print var.x

------------------------------------
------------------------------------

by the way why can't i place and array with the same size into another array..
array1 = array2.. ??? gave an error..?