[ZPT] Batching and sequence-index ?
Geir Bækholt
Geir Bækholt <geirh@funcom.com>
Wed, 5 Sep 2001 12:40:00 +0200
Thanks, Steve. That did it.
:-)
on or about, Wednesday, September 05, 2001, we have reason to believe that =
Steve Spicklemire wrote something along the lines of :
SS> Hi Geir,
SS> from Batch.py:
SS> def __getitem__(self, index):
SS> if index < 0:
SS> if index + self.end < self.first: raise IndexError, index
SS> return self._sequence[index + self.end]
SS> if index >=3D self.size: raise IndexError, index
SS> return self._sequence[index+self.first]
SS> Looks like you want "path('repeat/yourvar/index') +=20
SS> whatYouUsedAsStart - 1"
SS> or even better
SS> "path('repeat/yourvar/index') + batchObject.first"
SS> The Batch object doesn't seem to store this anywhere handy.
SS> -steve
--=20
Geir B=E6kholt web-developer/zopatista
geirh@funcom.com funcom oslo | webdev-team
<!-- PGPid : 0x90B47B20 -->