Go Down

Topic: Why dont I listen ? another afternoon wasted (Read 952 times) previous topic - next topic


Oct 23, 2010, 09:44 pm Last Edit: Oct 23, 2010, 10:17 pm by John_Smith Reason: 1
Well I finally got my wireless text LED display going after wasting a whole afternoon again, chasing the second equals sign !
In future I will  put the variable second as in if(20==x) as I was advised last time .. :-/


yea I used to have that problem, then did not for the longest while, then ended up banging my head on the desk for a good 20 min over it last night

habits are hard to break sometimes though


Oct 23, 2010, 11:22 pm Last Edit: Oct 23, 2010, 11:23 pm by bld Reason: 1
Or the classic

Int i;
i == 1;

Then not understanding why it dosnt change ;)
captain-slow.dk | non contagious!


I havn't done that one yet, give me time ............


just wait, in no time you will be accidentally ending sentences with semicolons.  ;D


I'm fairly sure you need to end each line with a dot, and each sentence with a semicolon!
Your message does not compute! Syntax error on line 1 near 'just wait', a parameter has been omitted [wait(long time)]!


Every programmer I know has been caught by that one - usually more than once.

If you added up the cost in programmer time of C and Java allowing you to put assignments in conditions I bet it would come to many many millions of dollars.
I write books about Arduino and Electronics: http://simonmonk.org

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131