You are here: Re: menu problem (javascript 0 « All PHP « IT news, forums, messages
Re: menu problem (javascript 0

Posted by -Lost on 04/07/07 21:32

"Hendri Kurniawan" <ask-me@email.com> wrote in message
news:131g1kl294748ce@corp.supernews.com...
> Steve wrote:
>>
>> you have heard of tertiary operators, right?
>>
>> g = y > 170 && g == 0 ? 1 : 0;
>> q = q + 5 * (g ? -1 : 1);
>> y += q;
>>
>
> Sorry I though it was "ternary" operator, not "tertiary"... Which one is correct?

PHP specifically calls it a ternary operator, but it means the same thing as a tertiary
operator.

I believe in ActionScript it is specifically called the tertiary operator.

They all originate around the "group of three" premise.

-Lost

 

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

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