qbasic.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
ERDEV, ERDEV$ Functions
  Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
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