Cape Town South Africa
Offline
Edison Member
Karma: 17
Posts: 1104
A newbie with loads of posts, and still so much to learn !
|
 |
« on: October 23, 2010, 02:44:31 pm » |
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 .. :-/
|
|
|
|
« Last Edit: October 23, 2010, 03:17:41 pm by John_Smith »
|
Logged
|
We live in the era of the smart phones and stupid people.
|
|
|
|
SE USA
Offline
Faraday Member
Karma: 33
Posts: 3623
@ssh0le
|
 |
« Reply #1 on: October 23, 2010, 02:48:42 pm » |
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
|
|
|
|
|
Logged
|
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
|
|
|
|
Vejen, Denmark
Offline
Edison Member
Karma: 7
Posts: 1177
RAWR! ^,..,^
|
 |
« Reply #2 on: October 23, 2010, 04:22:29 pm » |
Or the classic Int i; i == 1; Then not understanding why it dosnt change 
|
|
|
|
« Last Edit: October 23, 2010, 04:23:38 pm by bld »
|
Logged
|
|
|
|
|
Cape Town South Africa
Offline
Edison Member
Karma: 17
Posts: 1104
A newbie with loads of posts, and still so much to learn !
|
 |
« Reply #3 on: October 23, 2010, 04:50:26 pm » |
I havn't done that one yet, give me time ............
|
|
|
|
|
Logged
|
We live in the era of the smart phones and stupid people.
|
|
|
|
England
Offline
Full Member
Karma: 0
Posts: 211
Arduino rocks
|
 |
« Reply #4 on: October 23, 2010, 04:59:22 pm » |
just wait, in no time you will be accidentally ending sentences with semicolons. ;D
|
|
|
|
|
Logged
|
|
|
|
|
Holland
Offline
Sr. Member
Karma: 0
Posts: 439
Arduino likes cookies too
|
 |
« Reply #5 on: October 23, 2010, 05:08:19 pm » |
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)]!
|
|
|
|
|
Logged
|
|
|
|
|
UK
Offline
God Member
Karma: 9
Posts: 895
Twitter: @simonmonk2
|
 |
« Reply #6 on: October 25, 2010, 03:38:55 am » |
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.
|
|
|
|
|
Logged
|
|
|
|
|
|