POV-Ray : Newsgroups : povray.pov4.discussion.general : comma at end of last element in list : Re: comma at end of last element in list Server Time
29 Apr 2024 00:35:04 EDT (-0400)
  Re: comma at end of last element in list  
From: Trevor G Quayle
Date: 15 Oct 2008 14:35:01
Message: <web.48f636eeeded49c981c811d20@news.povray.org>
Dan Connelly <djc### [at] yahoocom> wrote:
> What I'd like to see is an allowed comma at the end of the last element in a list. 
This would facilitate the populat
ing of lists from within a loop.  There's now the need (AFAICT) a silly check for the
last element to omit the comma.
>
> Dan

Usually I workaround by adding the comma before the number, that way there is no
comma at the end of the list.  This works usually because most items that I have
created that use lists (meshes, splines, polygons) have a float preceding the
list, usually the number of items conatined in the list.

-tgq


Post a reply to this message

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