1. Re: wait_key (was <none>)
- Posted by Ralf Nieuwenhuijsen <nieuwen at XS4ALL.NL> Nov 02, 1998
- 729 views
Jiri was indeed right that i - '0' would be easier than my approach. But I think I like this approach the most. >i = find(wait_key(),"0123456789")-1 "To get the value of a one digit number that you enter." ..or -1, if no legal key is pressed. Ralf

