[Zope] How to assing a string value to a variable in DTML?

2000-08-17 Thread iap_y2fun.com
Forgive me for this stupid question: How to assing a string value to a variable in DTML? for example: dtml-let a='a' b='b' dtml-var "a+b" /dtml-let it causes error, not what I expected: given a="", b="", and eval a+b to "" Thanks iap

Re: [Zope] How to assing a string value to a variable in DTML?

2000-08-17 Thread Daniel Rusch
dtml-let a="'a'" b="'b'" dtml-var "a+b" /dtml-let Notice the quotes. See the How to on Let tags: http://www.zope.org/Members/michel/HowTos/LetTagHow-To DR "iap_y2fun.com" wrote: Forgive me for this stupid question: How to assing a string value to a variable in DTML? for example: