[Zope] DTML Loop Iteration

hpinson@indepthl.com hpinson@indepthl.com
Thu, 17 Jul 2003 12:58:31 -0600


I have a dtml looping question,  Does anyone know how to iterate a 
loop using a counter within the loop for doing other things:

<dtml-in "_.range(0,9,1)">

  <dtml-in expr="SQL_getSubject(subject_id=3,standard_no=counter)">

     Display stuff from query...

  </dtml-in>
  
</dtml-in>

Where 'counter' is an iteration variable of the loop.

It is the 'counter' variable I am having trouble with then syntax 
for.  Thanks!

Harlow Pinson
Indepth Learning
Email: hpinson@indepthl.com 
Web: http://www.indepthl.com
Voice: 505-994-2135
FAX: 208-475-7678