|
|
In article <3c4a05f7@news.povray.org>, Warp <war### [at] tagpovrayorg>
wrote:
> Because it would disallow making automatic generation of long lists of
> items (number, vectors...) in such a simple and versatile way as currently.
> Currently it's just enough to create the list of items in a loop, without
> having to take into account that there should be one comma less than the
> number of items.
> (Note that the problem with the solution you suggested is that there might
> be cases where the loop is not executed even once, that is, no items are
> created at all.)
In this case it's an extra line and some math in the loop. The cases you
mention aren't that common, and you can still put a comma on every line
but the last, it's just a little more complex. Not by very much,
either...just by one #if() statement in the mix.
--
--
Christopher James Huff <chr### [at] maccom>
Post a reply to this message
|
|