by Caesar » Aug 26, 2004 @ 4:04pm
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"
Organic Superlube? Oh, it's great stuff, great stuff. You really have to keep an eye on it, though--it'll try and slide away from you the first chance it gets.