POV-Ray : Newsgroups : povray.general : Syntax-Parsing : Re: Syntax-Parsing Server Time
3 Aug 2024 16:21:47 EDT (-0400)
  Re: Syntax-Parsing  
From: Christopher James Huff
Date: 30 Dec 2003 20:59:10
Message: <cjameshuff-633B0F.20590830122003@netplex.aussie.org>
In article <3ff1e105$1@news.povray.org>,
 Florian Brucker <tor### [at] torfboldcom> wrote:

> I just noticed that the following code renders without errors, although 
> the syntax contains IMHO an error (Notice the last comma in the 
> parameter list):
> 
> <POV>
> #macro MyMacro(Param1,Param2,Param3,)

POV-Ray is very forgiving about commas. It often lets you leave them out 
completely (which often causes surprises later on, so it is a bad idea 
to do so), and usually lets you leave a trailing comma in lists of 
items. (makes it easier to create that list with a loop...which doesn't 
apply here)

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: <chr### [at] tagpovrayorg>
http://tag.povray.org/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.