Sure: You need to escape it because python doesn't recognize the dash in a variable name. _['sequence-number'] Double = is used for comparison only. I would also create a new var instead of working on sequence-number directly. Laters, Rick hpinson@indepthl.com wrote:
In DTML, does anyone know how to perform math on a dtml-in sequence- number attribute. For example
sequence-number == sequence-number - 1
Thanks!
Harlow Pinson Indepth Learning Email: hpinson@indepthl.com Web: http://www.indepthl.com Voice: 505-994-2135 FAX: 208-475-7678
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )