[Zope] while

Leichtman, David J code@ou.edu
Wed, 26 Jul 2000 17:46:18 -0500


But that's more like a for loop. No test condition.
Basically, I want to keep redoing a method until a condition is met.

-----Original Message-----
From: Daniel Rusch [mailto:drusch@globalcrossing.com]
Sent: Wednesday, July 26, 2000 3:19 PM
To: Leichtman, David J
Cc: 'zope@zope.org'
Subject: Re: [Zope] while


Try:

<dtml-in "_.range(1,10)">
 <dtml-var sequence-item>
</dtml-in>

"Leichtman, David J" wrote:

> Is there an easy way to simulate the functionality of a while loop in
DTML?
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )