Community QBasic

Rebooting the QBasic we all know and love!


Project maintained by Cory Smith

ERDEV$

Returns a character string containing the name of the device that generated a critical error.

Syntax

ERDEV$

Comments

The MS-DOS critical error handler sets the value for ERDEV$.

Example

ON ERROR GOTO Handler
...
Handler:
  PRINT "Error accessing device "; ERDEV$
  PRINT "Error status code "; ERDEV
  ...

See Also