Go Down

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

Boffin1

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 .. :-/

Osgeld

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
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL

bld

#2
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!

Boffin1

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

UltraMagnus

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

Imahilus

What?
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)]!

Si

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!

Arduino
via Egeo 16
Torino, 10131
Italy