| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | 32-bit Input |
Chris Mcbrien doth sayeth in a message unto All:
CM> So I have opened the keyboard with DosOpen("KBD"
CM> [etc]);
The handles 0 (STDIN), 1 (STDOUT) and 2 (STDERR) can be used with DosRead().
CM> However, how do I retrieve just one character? For example,
CM> is the simple situation of "Press any key to continue".
CM> The DosRead function on the Keyboard device, won't return
CM> until it encounters a newline character!
Don't use the keyboard device, use STDIN..
See ya,
Craig
.
craig.morrison{at}nfe.com
... Ayer ago i kuldnt spel progrmr, now i are won!!
--- timEd/2-B9
* Origin: Workplace Connection * (317) 742-2680 * (1:201/60)SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 413 430 SEEN-BY: 711/807 808 809 934 942 712/353 623 713/888 800/1 @PATH: 201/60 1 3615/50 229/2 12/2442 711/409 54/54 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.