|
HELP!!!
what is wrong with this code!!!!
if in spin mode, it countinously spins, if spin is false it has to slow itslef down, simple as that! but it wont work.
Edited by - DarkHunter on November 18, 2001 7:31:54 PM
It should be (spin == false).
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
One of the oldest and simplest problems from the looks of it:
if (spin = false)
should be
if (spin == false)
or
if (!spin)
easy mistake to make - hard to spot!
EDIT:
Fruny - you beat me to it by 59 seconds!
Edited by - Enigma on November 18, 2001 7:35:50 PM
if (spin = false)
should be
if (spin == false)
or
if (!spin)
easy mistake to make - hard to spot!
EDIT:
Fruny - you beat me to it by 59 seconds!
Edited by - Enigma on November 18, 2001 7:35:50 PM
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement