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 #174888 is a reply to message #174886] Fri, 15 July 2011 20:36 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
VanguardLH wrote:
> 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.

Ah but when I first made it it was because I didn't know better

Today its just a typo.;-)
[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 08:53:22 GMT 2024

Total time taken to generate the page: 0.06931 seconds