[Zope] convert #var sequence-item to integer?
Andreas Kostyrka
andreas@mtg.co.at
Tue, 10 Aug 1999 07:51:34 +0200 (CEST)
On Tue, 10 Aug 1999, Tim Potter wrote:
> The error I get is "sequence index must be an integer". Zope doesn't
> seem to be converting the sequence-item variable into an integer
Where are you coming from, that you expect a language to convert a string
to an integer automatically? *wonder*
Try:
_.string.atoi(i)
Andreas
--
Andreas Kostyrka | andreas@mtg.co.at
phone: +43/1/7070750 | phone: +43/676/4091256
MTG Handelsges.m.b.H. | fax: +43/1/7065299
Raiffeisenstr. 16/9 | 2320 Zwoelfaxing AUSTRIA