[Zope] More dtml-in sequenceing and cocatenation

hpinson@indepthl.com hpinson@indepthl.com
Mon, 30 Jun 2003 08:40:26 -0600


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.  

Any ideas?  Thanks.







Harlow Pinson
Indepth Learning
Email: hpinson@indepthl.com 
Web: http://www.indepthl.com
Voice: 505-994-2135
FAX: 208-475-7678