1. Re: wait_key (was <none>)

Wait key returns the ASCII code, not the number. You can use get to get
numbers, but you will need to press enter when you are finished. You could
also do something like:

i =3D find(wait_key(),"0123456789")-1

to get the value of a one digit number that you enter.

Jeffrey Fielding
JJProg at cyberbury.net

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu