Re: how to stop a function execution like...

2009-06-16 Thread mzdude
On Jun 16, 7:30 am, Gaudha wrote: > Is there any built-in function to stop execution of a function similar > to stop the program execution by sys.exit? > In the example below, I want to skip statement 2... if the 'if' > condition is satisfied. > Don't advice me to put statement 2 in 'else' block.

Re: how to stop a function execution like...

2009-06-16 Thread Dave Angel
Gaudha wrote: On Jun 16, 4:45 pm, "Diez B. Roggisch" wrote: Gaudha wrote: Is there any built-in function to stop execution of a function similar to stop the program execution by sys.exit? In the example below, I want to skip statement 2... if the 'if' condition is satisfied. Don't advi

Re: how to stop a function execution like...

2009-06-16 Thread pdpi
On Jun 16, 12:45 pm, "Diez B. Roggisch" wrote: > Gaudha wrote: > > Is there any built-in function to stop execution of a function similar > > to stop the program execution by sys.exit? > > In the example below, I want to skip statement 2... if the 'if' > > condition is satisfied. > > Don't advice

Re: how to stop a function execution like...

2009-06-16 Thread Gaudha
On Jun 16, 4:45 pm, "Diez B. Roggisch" wrote: > Gaudha wrote: > > Is there any built-in function to stop execution of a function similar > > to stop the program execution by sys.exit? > > In the example below, I want to skip statement 2... if the 'if' > > condition is satisfied. > > Don't advice m

Re: how to stop a function execution like...

2009-06-16 Thread Diez B. Roggisch
Gaudha wrote: > Is there any built-in function to stop execution of a function similar > to stop the program execution by sys.exit? > In the example below, I want to skip statement 2... if the 'if' > condition is satisfied. > Don't advice me to put statement 2 in 'else' block. That's not my > inte