<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>One way around this is to put the following:</DIV>
<DIV> </DIV>
<DIV><dtml-in SequenceLoop></DIV>
<DIV><dtml-let seqnumber=sequence-number></DIV>
<DIV> </DIV>
<DIV><!-- insert code here --></DIV>
<DIV> </DIV>
<DIV></dtml-let></DIV>
<DIV></dtml-in></DIV>
<DIV> </DIV>
<DIV>Another more "ugly" method would be:</DIV>
<DIV> </DIV>
<DIV><dtml-in SequenceLoop><BR><dtml-let seqnumber=sequence-number><BR><dtml-call "REQUEST.set('loopNumber',seqnumber)"><BR></dtml-let></DIV>
<DIV> </DIV>
<DIV><!-- insert code here --></DIV>
<DIV> </DIV>
<DIV></dtml-in></DIV>
<DIV> </DIV>
<DIV>The second approach is good if you want to know what the last sequence-number was after the sequence has ended.</DIV>
<DIV> </DIV>
<DIV>Cheers,</DIV>
<DIV> </DIV>
<DIV>Wade</DIV>
<DIV><BR><BR>>>> Asad Habib <ahabib@engin.umich.edu> 7/01/2004 9:10:11 am >>><BR></DIV>
<DIV style="COLOR: #000000">Hello. I am trying to set a variable I create using REQUEST.set to<BR>sequence-number for a sequence I am looping through but cannot seem to do<BR>so. I tried several different variations but Zope flagged me with a syntax<BR>error. Any help would be greatly appreciated. Thanks.<BR><BR>- Asad<BR><BR><BR>_______________________________________________<BR>Zope maillist - Zope@zope.org<BR><A href="http://mail.zope.org/mailman/listinfo/zope">http://mail.zope.org/mailman/listinfo/zope</A><BR>** No cross posts or HTML encoding! **<BR>(Related lists - <BR><A href="http://mail.zope.org/mailman/listinfo/zope-announce">http://mail.zope.org/mailman/listinfo/zope-announce</A><BR><A href="http://mail.zope.org/mailman/listinfo/zope-dev">http://mail.zope.org/mailman/listinfo/zope-dev</A> )<BR></DIV></BODY></HTML>