|
|
On Wed, 3 Apr 2002 15:21:39 -0600, "Shay" <sah### [at] simcopartscom> wrote:
> Can I define a function that takes a float and returns a vector?
Not directly but there is possible workaround.
> Something like this:
> function Get_Vec {<x^2,x^3,x^4>}
> Get_Vec (2) ------> <4,8,16>
> Do I have to use a macro to accomplish this?
If it is called only at parse time then macro version could be simpler to code.
ABX
Post a reply to this message
|
|