RE: [Zope] sequence of numbers
13 Mar
1999
13 Mar
'99
2:29 p.m.
Bill wrote:
What I want to do is given a limit number, iterate over a sequence of DTML commands. This would be an obvious use for #in (which I'm using elsewhere for other things) except I don't have a sequence - just the number of items in the sequence, as it were.
Here's a brute-force way to do it, as long as the list of items was short: <!--#call "REQUEST.set('foo',['1', '2','3','4','5'])"--> <!--#in foo--> <!--#var sequence-item--><br> <!--#/in--> --Paul
9885
Age (days ago)
9885
Last active (days ago)
0 comments
1 participants
participants (1)
-
Paul Everitt