while cons=true if keyhit(59) then cons=false command$=input(":>") select command case "test" print "ok" end select wend