Re: keyboard input using getc(0)
- Posted by ChrisBurch3 <crylex at gma??.com> May 16, 2008
- 724 views
Asa wrote: > > Hi all, I am finding that after using an expression like "choice = getc(0)" > the next time getc(0) is called, it doesn't wait for the keystroke. Something > > left in the keyboard buffer from the first call? > > I did search the docs before posting, but couldn't find an answer. > > Thanks. Hi Run this after your getc while get_key() != -1 do end while end procedure or while getc() != -1 do end while end procedure Chris