Diego Rodrigo Neufert writes: > <dtml-in "_.range(1000)"> > ....code... > <dtml-if valueOk> > STOP THE LOOP > </dtml-if> > </dtml-in> A long time ago, someone has implemented a "dtml-break" tag. Search for it on zope.org or in the searchable list archive. Dieter