Passing an array to a function
Posted: Wed Apr 28, 2004 9:05 am
I was wondering if I can pass an array to a function.
And the function must return an array.
For example I want to make a outproduct or dotproduct function
So
procedure outproduct(vecta(3),vectb(3))
code
return vect(c)
endprocedure
This doesn't work of course, but how can I do this easily?
And the function must return an array.
For example I want to make a outproduct or dotproduct function
So
procedure outproduct(vecta(3),vectb(3))
code
return vect(c)
endprocedure
This doesn't work of course, but how can I do this easily?