At 03:26 13-3-99 , Bill Randle wrote:
Now if, given a #var, I could get a list - e.g.: <!--#var max_items--> --> list = [0, 1, 2, ... max_items] or [1, 2, ... max_items], it doesn't make much difference. then I could just use: <!--#in list--> // some stuff using <!--#var sequence-index--> <!--#/in-->
Is there an easy way to do this? Is there *any* way to do it?
One way of doing this would be using an external method: def MyRange(iMax): return range(iMax) -- M.J. Pieters, Web Developer | Antraciet http://www.antraciet.nl | Tel: +31-35-6254545 Fax: +31-35-6254555 | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ------------------------------------------