FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » using same variable twice on same page
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: OT: Assignment operator (Was: using same variable twice on same page) [message #171384 is a reply to message #171383] Fri, 31 December 2010 10:47 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
August Karlstrom wrote:
> On 2010-12-31 03:07, The Natural Philosopher wrote:
> [...]
>> take
>>
>> (a=b==c)
>>
>> Its very clear which is an assignment and which is a comparison, though
>> the order or precedence is less so..
>>
>> I don't know how you would write than in 'context dependent equals'
>> language, at all.
>
> I'm not advocating "context dependant equals"; I think that a different
> symbol should be used for assignment, e.g. `:='.
>
>

I thought a lot of things when I first tried to program a computer.

I probably thought a lot of things when as a 12 month old baby I tried
to learn English.


But I managed to struggle on with both, and I can now understand
important things like the difference between 'lose' and 'loser', and
'loose', and 'looser'. And '=' and '==' and '!='

Not to mention a number system mased on 10, a currency based on 240 and
a weights and measures system based on how many hoses' hooves you could
fry up for breakfast without being sick, or something equally arbitrary.

The important thing about standards and conventions is that they exist.

Less so what they are.



> /August
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: AND in the if statement
Next Topic: login script using file, not mysql
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 02:54:48 GMT 2024

Total time taken to generate the page: 0.04843 seconds