View Full Version : input code error
If I enter the Cyberpet code it works fine, but if I enter the same code in a different prog it says 'Compile error' eg
'Reaction game
main:
high 4
pause 100
if input1 is on then stop
low 4
pause 100
Any suggestions, please?
BeanieBots
20-10-2005, 10:33
If you have cut and paste the code, did you pick any "spare" characters after the end of line or similar. Try actually typing it in.
The snippet that you have shown has a jump to "stop" but you do not have a label "stop".
Other than that, it all looks fine and should compile as long as a "stop" label is added.
Sorted, STOP is an illegal character - should have realised that
BeanieBots
20-10-2005, 13:44
And so should I !
Powered by vBulletin® Version 4.1.11 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.