well, just to understand better

lets say I have this:

def test(var):
    if var:
        redirect('x')
    "other code"...
    return

def test2():


Em domingo, 9 de junho de 2013 18h53min41s UTC-3, André Kablu escreveu:
>
> just a question
>
> if I have this code:
>
> def test(var):
>     if var:
>         redirect('x')
>     "other code"...
>     return
>
> if I do test(true) will "other code" run or the function just exits?
>
> thanks!
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to