inkey$() is not like
input. it doesn't wait for anything (enter key, or otherwise).
it is
whatever key is pressed when the command is called (or, if nothing is pressed, inkey$() = "", or null).
since you didn't place
inkey$() in a loop, you gave your program 1 cycle to determine what
inkey$() will be.
if "1" wasn't pressed before/while the command was called,
inkey$() cannot be "1".
so, either put it (the
inkey$() request) in a loop and make it loop until a valid option is chosen, or use
input (or choose another method altogether).
hope that helps. if not, ask away
edit:
run this:
while inkey$() <> "1"
text 0,0, "pick a number!"
endwhile
cls
input "now you got it :) ", WeAreAllNoobs$
edit2 removed last
input$ typo and replaced with
input so as not to confuse anyone who might stumble across this thread.
Virtual Nomad
AMD XP 1800+ (~1.6 Ghz) / 1.5 GB RAM
ATI Radeon 8700LE 128 MB / Windows XP