2017-10-10 14:55:21 +00:00
'''This page is maintained for historic purposes. The keyword is [[Keywords currently not supported by QB64|not supported in QB64]].'''
2015-08-02 12:12:44 +00:00
2017-10-10 14:55:21 +00:00
----
2015-08-02 12:12:44 +00:00
2017-10-10 14:55:21 +00:00
[[ERDEV]] is an integer function that returns an error code from the last device to create an error.
*'''[[Keywords currently not supported by QB64|Not supported in QB64.]]'''
2015-08-02 12:12:44 +00:00
* The code is bit-encoded containing DOS error information, the first 8-bit (first byte) contain the DOS error code, while the second bit contains device specific information (bits 15, 14, 13, (12-4 always zero), 3, 2, 1 in that order of the device attribute word).
2017-10-10 14:55:21 +00:00
* [[ERDEV]] is set by the critical error handler (interrupt 24h) when DOS encounters a error that prevents it from continuing.
2015-08-02 12:12:44 +00:00
2017-10-10 14:55:21 +00:00
{{PageSeeAlso}}
[[ERDEV$]], [[ERROR]]
2015-08-02 12:12:44 +00:00
2019-04-15 01:15:33 +00:00
{{PageNavigation}}