Thank you kindly ...
"Richard Lynch" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> >1) in a fuction, does a return statment automatically exit the function
as
> >well?
>
> Yes. Nothing more will get executed inside the function after the
"return;"
>
> Some purists claim that
>1) in a fuction, does a return statment automatically exit the function as
>well?
Yes. Nothing more will get executed inside the function after the "return;"
Some purists claim that you should *NEVER* have a return *ANYWHERE* except
the last line of a function.
EG:
# WRONG
function divide($n
2 matches
Mail list logo