On 2008-Dec-17, at 5:15 pm, Aristotle Pagaltzis wrote:
The way Template Toolkit solves this is far better: the loop body
gets access to an iterator object which can be queried for the
count of iterations so far and whether this is the first or last
iteration.

Well, I prefer a built-in counter like that, but I thought the point was that you wanted some kind of block or something that could be syntactically distinct?



-David

Reply via email to