|
![](/i/fill.gif) |
Bent wrote:
> Also, I was curious why POV-Ray is only picky about argument delimiters (that
> is, commas) some of the time.
I suppose it's mostly a matter of organic growth.
Of course, your working code sample should be avoided
outside of short code competitions ;)
> However, it is not happy with this:
>
> #declare f=function{pow(3!1)}
Functions are treated rather specially anyway.
Other things such as arrays also do not work
inside functions.
> It isn't happy with this, either:
>
> #macro A(b(c))b+c#end
I'm not sure why you would expect this to work.
It's not as if parentheses are just something to
separate identifiers and be discarded.
> #debug("a\n")
That is as documented although I'd find a syntax
with parentheses more natural as well for #debug,
#fopen, #fclose, #warning and #error.
Post a reply to this message
|
![](/i/fill.gif) |