[Zope] Simple function nightmare
Felipe Alvarez Harnecker
felipe.alvarez@qlsoft.cl
Fri, 2 Jun 2000 02:09:48 -0400 (CLT)
Hi Zopistas,
Hope you can help me .. (I'm hating DTML right now )
Take this dtml document with name: dontWork_dtml
<dtml-return "a+'-'+b+'-'+c">
I want de document act like a function that concatenates a,b and c
but if at other document i do something like
<let a="'1'"
b="'2'"
c="'3"
d=dontWork_dtml
>
<dtml-call "REQUEST.set('a','2')">
<dtml-var d>
</dtml-let>
guess what:
it renders
2-2-3
That is d is not a string but an expression.
The question is How the Fck. can i implement the concatenation of 3
arguments ?
Gracias por vuestra paciencia.
--
______________________________________________________
Felipe Alvarez Harnecker. QlSoftware.
Tel. 09.874.60.17 e-mail: felipe.alvarez@qlsoft.cl
Potenciado por Ql/Linux http://www.qlsoft.cl/
______________________________________________________