|
|
Skiba <abx### [at] babilonorg> wrote:
> #declare func=function{1+2+3}
> #local New=function{func()}
>
> it stoped with note that operand expected (what is nonsense for me)
Well, it would help if at this point you would have RTFM:
The first one declared a function with _three_ parameters, the later tries
to pass _zero_ parameters. It make ***not*** sense to have a function with
_zero_ parameters and thus it is not allowed.
> but I'm mad and I joined both as:
>
> #declare func=function(h){h^h}
> #local New=function{func(1)}
> #declare func=function{1+2+3}
> #local New=function{func()}
You are right that it should not crash, I will look into it.
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|