|
![](/i/fill.gif) |
In article <3f2e1de4@news.povray.org>, Warp <war### [at] tag povray org>
wrote:
> Mike Williams <mik### [at] econym demon co uk> wrote:
> > Omitting the comma happens to work for this particular case, but there
> > are similar situations where commas are required.
>
> Can you cite an example?
Anything that has an expression starting with an operator, such as "-x".
polygon {Foo
Foo
-Foo2
Bar
}
The point list will be interpreted as "Foo - Foo2, Bar".
This kind of error can be very difficult to track down. I *always* use
commas, and always use logic which puts them where they are needed.
--
Christopher James Huff <cja### [at] earthlink net>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tag povray org
http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |