RE: Q
- Posted by "C. K. Lester" <cklester at yahoo.com> Feb 27, 2002
- 404 views
gwalters at sc.rr.com wrote: > can someone explain why this program displays 316 for F2 > and 113 for 'q'? Because those are the specific codes for those keys. Your constants don't affect this particular program, so you could remove them and do this: > include get.e > atom c > > while 1 do > c = wait_key() > printf (1,"%d %d\n",c) > if c = 27 then > exit > end if > > end while You'll get the same results.