[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Int 2F Fn 4810  - DOS 5+ Doskey, PCed V2.1 - Read Input Line From Console  [K]

   AX = 4810h
   DS:DX -> line buffer (see INT 21/AH=0Ah)

Return: AX = 0000h if successful

Notes: the first byte (length) of the buffer MUST be 80h, or DOSKEY chains to
     the previous handler; PCED allows sizes other than 80h
   if the user's input is a macro name, no text is placed in the buffer
     even though AX=0000h on return; the program must immediately issue
     this call again to retrieve the expansion of the macro.  Similarly,
     if the user enters a special parameter such as $*, this call must
     be repeated to retrieve the expansion; on the second call, DOSKEY
     overwrites the macro name on the screen with its expansion.
   unlike DOSKEY, PCED expands all macros on the first call, so it is
     not necessary to make two calls; since the buffer is not empty on
     return, DOSKEY-aware programs will not make the second call
   DOSKEY chains if AL is not 00h or 10h on entry

See Also: AX=4800h,INT 21/AH=0Ah

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson