◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── Include: DOS.INC Syntax: @GetChar [echo] [,[break] [,clearbuf]] Summary: Gets a keystroke from the keyboard Arguments: <echo> Nonzero to echo keystroke; default yes. Must be a constant. <break> Nonzero to accept CTRL+C; default yes. Must be a constant. <clearbuf> Nonzero to clear keyboard buffer; default no. Must be a constant. NOTE: Arguments can be omitted to get defaults. Returns: ASCII code of key in AL Modifies: AX, else DL used if echo on and CTRL+C off See also: Int 21h Functions 01h, 07h, 08h, and 0Ch, @GetStr -♦-