RE: [Zope] sequence-number math
14 Oct
2003
14 Oct
'03
8:19 p.m.
[hpinson@indepthl.com]
btw. do you want to achieve with the above expression?
Hi Tino-- just some if then logic and text substitution, ie.
Grade 0 becomes Grade K
where 0 is kindergarten, 1 is grade 1, etc.
The grade is the same as the sequence number.
I'd try something like this - <dtml-let grades="'K123456789'''> <dtml-in "whatever-it-is'> Grade <dtml-var "grades[_['sequence-index']]"> </dtml-in> </dtml-let> Cheers, Tom P
8210
Age (days ago)
8210
Last active (days ago)
0 comments
1 participants
participants (1)
-
Passin, Tom