Contents  Index  
──────────────────────────────────────────────────────────────────────────────
ERDEV returns an error code from the last device that generated a critical
error. ERDEV$ returns the name of the device that generated the error.

ERDEV
ERDEV$

    ■ The low byte of the value returned by ERDEV contains the DOS error
      code. The high byte contains device-attribute information.

Example

See Also    ERR, ERL    ON ERROR
──────────────────────────────────────────────────────────────────────────────
 © Copyright Microsoft Corporation, 1987-1992. All rights reserved.
   Converted from qbasic.hlp with DosHelp/HelpConvert