| 
	
 | 
 Posted by Oli Filth on 12/18/05 21:19 
Jørn Dahl-Stamnes said the following on 18/12/2005 18:29: 
> Oli Filth wrote: 
>  
>  
>>Jørn Dahl-Stamnes said the following on 18/12/2005 09:42: 
>> 
>>>Do PHP support recursive calling, like this: 
>>> 
>>>function some_func ($some_arg) 
>>>{ 
>>>  $count = 0; 
>>>  // some code 
>>>  while (<some condition>) 
>>>  { 
>>>    if (<some condition>) 
>>>    { 
>>>      $count += some_func ($some_arg); 
>>>    } else { 
>>>      ++$count; 
>>>    } 
>>>  } 
>>>  return $count; 
>>>} 
>>> 
>> 
>>Did you not think to just try it out? 
>  
>  
> Yes, I did and it did not seem to work. I asked becasue maybe there was some 
> hack etc that I needed to do before it worked... 
>  
 
Ah well, you didn't say that! If you're not specific, you usually get a  
condescending answer on Usenet. 
 
What doesn't work? Did you get any error messages, etc.? 
 
--  
Oli
 
  
Navigation:
[Reply to this message] 
 |