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:[EMAIL PROTECTED]]
Sent: Wednesday, July 26, 2000 3:19 PM
To: Leichtman, David J
Cc: '[EMAIL PROTECTED]'
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  -  [EMAIL PROTECTED]
> 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 )

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to