Returns an error from a previous OS-* call represented by an integer. The calls that can return an OS-ERROR are:
Note that OS-COMMAND is missing. You need to handle errors in OS-COMMAND yourself.
| Error number | Description |
|---|---|
| 0 | No error |
| 1 | Not owner |
| 2 | No such file or directory |
| 3 | Interrupted system call |
| 4 | I/O error |
| 5 | Bad file number |
| 6 | No more processes |
| 7 | Not enough core memory |
| 8 | Permission denied |
| 9 | Bad address |
| 10 | File exists |
| 11 | No such device |
| 12 | Not a directory |
| 13 | Is a directory |
| 14 | File table overflow |
| 15 | Too many open files |
| 16 | File too large |
| 17 | No space left on device |
| 18 | Directory not empty |
| 999 | Unmapped error (ABL default) |