Here's my very basic code dealing with the random number generator. I want it so that when the user inputs break or Break the app will jump to label 2 and then end itself. However, all it does is add a random number to the end of Break. Also, the random number generator appears to only create a random number > .0. Any ideas?
Here's my code:
Label 1
randomize 1
input A
if A=Break|break then goto 2
A=A+RND
print A
goto 1
label 2
end
| means "or"
Here's my code:
Label 1
randomize 1
input A
if A=Break|break then goto 2
A=A+RND
print A
goto 1
label 2
end
| means "or"