You are here: Re: Recursionalism « PHP Programming Language « IT news, forums, messages
Re: Recursionalism

Posted by Jon Slaughter on 05/04/07 11:01

"Toby A Inkster" <usenet200703@tobyinkster.co.uk> wrote in message
news:na6rg4-8oj.ln1@ophelia.g5n.co.uk...
> Mohawk Moak wrote:
>
>> this method worked good, i did not realize to set the global twice.
>
> You don't -- you only need to use it inside the function. Jon's use of
> "global" outside the function is entirely redundant, though doesn't cause
> any harm.
>

Oh, lol... I didn't read is post very well. Yes it is redudant. Didn't mean
it to be there. In any case its probably best to use static. In this case
it might work but even redudancy can cause problems.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация