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.

Try this:

DoSomeTransform(x,y,z) 

function DoSomeTransform(x1,y1,z1) 
dim tempArray(3) 
tempArray(1) = x1+2 
tempArray(2) = y1+4 
tempArray(3) = z1+5 
return tempArray()
end 


not sure, because I cannot test this at the moment, but that might be helpful