On 26 Jul 2012, at 11:22 AM, Derek wrote:
> Massimo, that doesn't work, as we already explained.
It's new in the trunk.
>
> Traceback (most recent call last):
> File "C:\Temp\web2py\gluon\restricted.py", line 205, in restricted
> exec ccode in environment
> File "C:\Temp\web2py\applications\customers2\views\default/index.html",
> line 88, in <module>
> TypeError: unsupported operand type(s) for *: 'BR' and 'int'
>
>
> On Thursday, July 26, 2012 2:20:38 AM UTC-7, Massimo Di Pierro wrote:
> {{=BR()*how_many_times}}
>
> On Wednesday, 25 July 2012 22:51:03 UTC-5, rochacbruno wrote:
> On Thu, Jul 26, 2012 at 12:39 AM, pbreit <[email protected]> wrote:
> Wow, you would write that instead of <br><br><br><br><br>??
>
> Sometimes the repetition is a variable
>
> {{=CAT(*[BR() for i in xrange(how_many_times)])}}
>
>
--