"twister" <twi### [at] o2 pl> wrote:
> Hi all,
>
> Is there any possibility to write a #macro that returns spline by value? I have
> made such macro but I have to pass a parameter to the macro that will be a
> place for spline. I excpect something like that:
>
> #declare new_spline = createSpline(myArray);
>
> Now I have to do it like that:
>
> #declare new_spline = 0;
> createSpline(myArr, new_spline)
> //now I have new_spline initialized
>
Could it perhaps be a problem with how you are initially setting up or loading
values into myArray? An array[] starts at location 0, not 1. Just a thought.
Ken W.
Post a reply to this message
|