2 Jan
2008
2 Jan
'08
6:55 p.m.
--On 2. Januar 2008 14:44:24 -0400 Victor Subervi <victorsubervi@gmail.com> wrote:
<td tal:define="num python:here.scripts.getQuote">
As in nearly all other programming languages methods are called with parentheses - or?
<span metal:use-macro="here/en-us/quotes/?num/macros/quote" /><br />
Now, I thought that was the correct way to call the variable "num" (that is, with the question mark: "?num"). Apparently, I'm mistaken. I've even tried defining it this way:
Not sure if using the '?' will working within a TALES expression. It will at least work as the last item with an expression. However it will fail in general if 'num' is an integer. -aj