On Jul 23, 7:43 am, mdipierro <[email protected]> wrote:
> {{for i in range(40):
> =i
> pass}}
>
> or
>
> {{for i in range(40):}}{{=i}}{{pass}}
>
> BUT
>
> {{for i in range(40):
> if i==0:
> =0
> else:
> =i
> pass
> pass}}
>
> Note no need to pass before else because would be obvious.

Note that this makes it hard to copy/paste code.

I still would like to see something like
http://groups.google.com/group/web2py/msg/13b4f35be813da88
implemented.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to