return maybe.

At 16:24 04/04/2002, Mauricio Cuenca wrote:

>Hello,
>
>I'm using recursive functions and call a function from inside another one.
>The problem is that when I call the Exit(); function the whole program is
>aborted. How can I quit just the current function, not the whole program ?
>
><example>
>Function One()
>{
>     If (!$var) { Exit(); }
>}
>
>Function Two();
>{
>     One();    //This line kills the program
>     Print("Hello"); //This is not printed =(
>}
></example>
>
>TIA,
>
>______________________
>Mauricio Cuenca
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php

****************************************************************
* Ben Edwards                              +44 (0)117 9400 636 *
* Critical Site Builder    http://www.criticaldistribution.com *
* online collaborative web authoring content management system *
* i-Contact Progressive Video      http://www.videonetwork.org *
* Smashing the Corporate image       http://www.subvertise.org *
* Bristol Indymedia               http://bristol.indymedia.org *
* Bristol's radical news             http://www.bristle.org.uk *
* PGP : F0CA 42B8 D56F 28AD 169B  49F3 3056 C6DB 8538 EEF8     *
****************************************************************

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to