[Zope] Do While Loop Equivalent

David Hassalevris bluepaul@earthlink.net
Wed, 21 May 2003 13:05:26 -0700


<dtml-in "_.range(9)">
... add block of records

</dtml-in>
Was that what you wanted?
David
----- Original Message ----- 
From: "McDonnell, Larry" <lmcdonnell@protonenergy.com>
To: "'Zope@Zope. Org' (E-mail)" <zope@zope.org>
Sent: Wednesday, May 21, 2003 12:55 PM
Subject: [Zope] Do While Loop Equivalent


>
> Hi,
>
> I have been searching for a while but I am coming up empty. I am writing a
> module that needs to create a block of records in the db so they can be
> updated at a later time. In the good old days, I would use a do while loop
> (do something while x < 10). How can this be done? And as always any
> pointers will be appreciated, thanks.
>
>
> Larry McDonnell
>
> Proton Energy Systems
> 10 Technology Drive
> Wallingford, CT 06492
> (203) 678-2181
> Email:lmcdonnell@protonenergy.com
> www.protonenergy.com
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )