<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>&nbsp;</DIV>
<DIV>&lt;dtml-in SequenceLoop&gt;</DIV>
<DIV>&lt;dtml-let seqnumber=sequence-number&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;!-- insert code here --&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;/dtml-let&gt;</DIV>
<DIV>&lt;/dtml-in&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Another more "ugly" method would be:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;dtml-in SequenceLoop&gt;<BR>&lt;dtml-let seqnumber=sequence-number&gt;<BR>&lt;dtml-call "REQUEST.set('loopNumber',seqnumber)"&gt;<BR>&lt;/dtml-let&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;!-- insert code here --&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;/dtml-in&gt;</DIV>
<DIV>&nbsp;</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>&nbsp;</DIV>
<DIV>Cheers,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Wade</DIV>
<DIV><BR><BR>&gt;&gt;&gt; Asad Habib &lt;ahabib@engin.umich.edu&gt; 7/01/2004 9:10:11 am &gt;&gt;&gt;<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&nbsp; -&nbsp; Zope@zope.org<BR><A href="http://mail.zope.org/mailman/listinfo/zope">http://mail.zope.org/mailman/listinfo/zope</A><BR>**&nbsp;&nbsp; No cross posts or HTML encoding!&nbsp; **<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>