[Zope] Storing a list of numbers in a property
Evan Simpson
evan@4-am.com
Wed, 08 Sep 1999 18:45:16 -0500
Chris Walter wrote:
> I tried using "token" and "lines"(I'm not actually sure what these
> are). This worked but I was unable to math with the entries.
"tokens" and "lines" properties both store lists of strings, with the
requirements that "tokens" elements not contain whitespace and "lines"
elements not contain newlines. In either case, you can get an integer
value suitable for math by using "_.int()", as in:
<dtml-var "_.int(v)+3">