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

Home » Imported messages » comp.lang.php » error message I don understand
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: error message I don understand [message #174886 is a reply to message #174885] Fri, 15 July 2011 19:25 Go to previous messageGo to previous message
VanguardLH is currently offline  VanguardLH
Messages: 5
Registered: April 2011
Karma:
Junior Member
liebling.kreuzberg wrote:

> Natural Philosopher wrote:
>
>> Odd, since I said exactly the same thing, with added humour.
>
> Hmmm, strange form of humour. Not my cup of ........
> Maybe due to the fact that Englis (nor American) is not my mothertongue.

Natural posted 2 hours *after* Billy and, of course, we're supposed to
assume that he didn't see Billy's reply to spur him onto the same
solution but differently composed.

In some programming languages, the "=" is not an assignment operator
when its context is within the conditional clause. In others, it is an
assignment operator (followed by a Boolean test for true or false) and
is sometimes used as a cheat but usually for the right-side operand. If
you had reversed the left- and right-side operands you wouldn't get an
error in all languages and instead might get an assignment that you
didn't expect along with an action by the 'if' that was unplanned.

Sometimes another pair of eyes will see your mistake. Too often your
eyes see what your mind expects to see. Bouncing between multiple
programming languages doesn't help, either. Don't let Natural fool you:
this is a mistake common to ALL programmers and shows up often enough
that all of them recognize the mistake because it wasn't so long ago
since they made that same mistake.
[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
Previous Topic: Ouion Movement, Roun Time (Floating Point Time)
Next Topic: [MEMCACHED] Is there a way to get the expiration of a key?
Goto Forum:
  

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

Current Time: Sat Nov 23 12:10:18 GMT 2024

Total time taken to generate the page: 0.04973 seconds