RE: [PHP-WIN] recursion
| From: | HKG) | Date: | Mon, 21 Jan 2002 14:06:42 +0000 |
| Subject: | RE: [PHP-WIN] recursion | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-11540@lists.php.net to get a copy of this message | ||
Sorry a bug slipped into the code:
The if statment is fualty!!!
>RecursiveFunction(Recurs_Argument)
>{
**** if (CHECK_IF_BREAK_CONDITION_IS_TRUE()) { *******
> return [breakConditionTrue];
> }
>
> else {
> ProcessData([Recurs_Argument]);
> RecursiveFunction([Recurs_Argument]);
> }
>
> return [breakConditionFalse];
>}
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
>For additional commands, e-mail: php-windows-help@lists.php.net
>To contact the list administrators, e-mail:
>php-list-admin@lists.php.net
>