26 posts
Location
Oregon, United States
Posted 11 April 2013 - 10:19 AM
I have been writing a simple code that guesses a certain number. If it guesses incorrectly, it guesses again. This repeats until it guesses correctly.The problem is when I try to run it I get the number "204" printed on the screen. That's the only thing that appears when I run the program. Not even an error stating where something would be wrong in the program. Here is the code:
Turns out I misspelled "tonumber." But I don't understand why it didn't tell me where the mistake was.
1511 posts
Location
Pennsylvania
Posted 11 April 2013 - 11:04 AM
It is nice to see you figured out the problem without our help. That is a step in the right direction.
(Psst, syntax gets me too :P/>)
1688 posts
Location
'MURICA
Posted 11 April 2013 - 11:29 AM
Yeah, this error is weird; I got it too, but it was because I misspelled the name of one of my tables. Kept me occupied for longer than I'm willing to admit :lol:/>/>