[Zope] Anything like a for loop in DTML?
The Dragon De Monsyne
dragondm@delta.integral.org
Mon, 12 Apr 1999 20:40:53 -0500 (CDT)
On Mon, 12 Apr 1999, Bill Randle wrote:
> Phil,
>
> I asked this same question awhile back. The answer is to use an External
> Method. The Python equivalent is the "range" operator, but "range" is not
> included in Zope due to possible problems with runaway memory usage if a
> really big number was used. [In the example below you'll see that a max
> limit is set. If it were a standard feature, where would one set the upper
> limit?]
>
Erm, isn't this what xrange() is for??
Zope _really_ should have xrange available. (don't know if it does)
-The Dragon De Monsyne