home *** CD-ROM | disk | FTP | other *** search
AMOS Source Code | 1992-02-26 | 2.6 KB | 147 lines |
- Procedure _DOSERROR[ERR]
- MSG$=''
- If ERR=103
- MSG$='insufficient free store'
- End If
- If ERR=105
- MSG$='task table full'
- End If
- If ERR=114
- MSG$='bad template'
- End If
- If ERR=115
- MSG$='bad number'
- End If
- If ERR=116
- MSG$='required argument missing'
- End If
- If ERR=117
- MSG$='value after keyword missing'
- End If
- If ERR=118
- MSG$='wrong number of arguments'
- End If
- If ERR=119
- MSG$='unmatched quotes'
- End If
- If ERR=120
- MSG$='argument line invalid or too long'
- End If
- If ERR=121
- MSG$='file is not an object module'
- End If
- If ERR=122
- MSG$='invalid resident library during load'
- End If
- If ERR=202
- MSG$='object in use'
- End If
- If ERR=203
- MSG$='object already exists'
- End If
- If ERR=204
- MSG$='directory not found'
- End If
- If ERR=205
- MSG$='object not found'
- End If
- If ERR=206
- MSG$='invalid window description'
- End If
- If ERR=207
- MSG$='object too large'
- End If
- If ERR=209
- MSG$='packet request type unknown'
- End If
- If ERR=210
- MSG$='stream name component invalid'
- End If
- If ERR=211
- MSG$='invalid object lock'
- End If
- If ERR=212
- MSG$='object not of required type'
- End If
- If ERR=213
- MSG$='disk not validated'
- End If
- If ERR=214
- MSG$='disk write-protected'
- End If
- If ERR=215
- MSG$='rename across devices attempted'
- End If
- If ERR=216
- MSG$='directory not empty'
- End If
- If ERR=217
- MSG$='too many levels'
- End If
- If ERR=218
- MSG$='device (or volume) not mounted'
- End If
- If ERR=219
- MSG$='seek failure'
- End If
- If ERR=220
- MSG$='comment too big'
- End If
- If ERR=221
- MSG$='disk full'
- End If
- If ERR=222
- MSG$='file is protected from deletion'
- End If
- If ERR=223
- MSG$='file is write protected'
- End If
- If ERR=224
- MSG$='file is read protected'
- End If
- If ERR=225
- MSG$='not a valid DOS disk'
- End If
- If ERR=226
- MSG$='no disk in drive'
- End If
- If ERR=232
- MSG$='no more entries in directory'
- End If
- If ERR=233
- MSG$='object is soft link'
- End If
- If ERR=234
- MSG$='object is linked'
- End If
- If ERR=235
- MSG$='bad loadfile hunk'
- End If
- If ERR=236
- MSG$='function not implemented'
- End If
- If ERR=240
- MSG$='record not locked'
- End If
- If ERR=241
- MSG$='record lock collision'
- End If
- If ERR=242
- MSG$='record lock timeout'
- End If
- If ERR=243
- MSG$='record unlock error'
- End If
- If ERR=303
- MSG$='buffer overflow'
- End If
- If ERR=304
- MSG$='***Break'
- End If
- If ERR=305
- MSG$='file not executable'
- End If
- If MSG$=''
- MSG$='Error'+Str$(ERR)
- End If
- End Proc[MSG$]