[Zope] #in - current size
Oleg Broytmann
phd@sun.med.ru
Tue, 12 Oct 1999 18:49:17 +0400 (MSD)
On Tue, 12 Oct 1999, Martijn Pieters wrote:
> At 16:07 12/10/99 , Oleg Broytmann wrote:
> >On Tue, 12 Oct 1999, Michel Pelletier wrote:
> > > You didn't notice 'batch-size'?
> > > >
> > > > On Mon, 11 Oct 1999, Michel Pelletier wrote:
> > > > > http://www.zope.org/Documentation/Guides/DTML/DTML-HTML/DTML.6.5.html
> >
> > I noticed that abot batch-size: "Attributes of batch objects used when
> >iterating over next-batches and previous-batches variables."
> > I need the same thing for current batch, not next/prev...
>
> Maybe you could use the previous-sequence-end-index and
> next-sequence-start-index variables to calculate the current batch size..
Finally I used sequence-step-start-index/sequence-step-end-index. I
looked them up in the sources and understant how they are calculated.
Thanks.
Oleg.
----
Oleg Broytmann National Research Surgery Centre http://sun.med.ru/~phd/
Programmers don't die, they just GOSUB without RETURN.