10 May
2000
10 May
'00
8:17 p.m.
The thing is if you embrace sequence-index in "" zope'll try to calc sequence minus index... and so you need to enclose the var name in _['varname']. Plus 32? coz this way they are ascii printable chars ;)
Or if what you want is: 0 1 2 3 4 ... 27 Then just: <dtml-in "_.range(28)"> <dtml-var sequence-index> </dtml-in> will work. If you want: 1 2 3 4 5 ... 28 Then try: <dtml-in "_.range(1,29)"> <dtml-var sequence-index> </dtml-in> --jfarr "Perl is worse than Python because people wanted it worse." Larry Wall, 14 Oct 1998