|
|
Warp wrote:
> Adrien Rebollo <adr### [at] gmxfr> wrote:
>> #declare my_function = function {
>> sum (I, 0, Imax, my_array[I](x,y,z))
>> }
>
>> gives me
>> Parse Error: Expected 'numeric expression', undeclared identifier 'I'
>> found instead
>
> Well, it's exactly what the error message says: I has not been defined
> anywhere, so POV-Ray can't know what do you mean by it.
> You have to #declare its value.
>
Then why does this work ?
#declare my_function = function {
sum (I, 0, Imax, 2*I)
}
I have not #declared I either.
Post a reply to this message
|
|