Re: [Zope] More dtml-in sequenceing and cocatenation
1 Jul
2003
1 Jul
'03
5:49 a.m.
: OdesÃlatel: hpinson@indepthl.com : Thanks Dieter. I knew it was a syntax error. I'm really close I : think: : : >> You probably want computed variable access: : >> "_['math_' + _['sequence-number']] == 1" : : Results in the Zope error: : : Error Type: TypeError : Error Value: cannot add type "int" to string : : This seems odd. I thought + was the python overloaded string : cocatenation symbol, i.e. 'hel'+'lo' is 'hello'? I am playing with : using the python str() function, but no results yet. Did you try "_[str('math_') + str(_['sequence-number'])] == 1" ? JL.
8314
Age (days ago)
8314
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jaroslav Lukesh