To pass an array:
To return an array:
of course float is just the datatype, can be whatever.
function passAnArray(myArray:float[]) local theSizeIWant:int = 3 if myArray.length <> theSizeIWant then return end if end function
To return an array:
function returnArray:float[]() local retArray:float[3] return retArray end function
of course float is just the datatype, can be whatever.