This the multi-page printable view of this section.Click here to print.

Return to the regular view of this page.

DOS_ABANDON

Abandon a file

Table of Contents

Function AddressDescription
DOS_ABANDON 010CAbandon a file

Synopsys

Abandon a file

Similar to DOS CLOSE, except that any header, or data, or directory data yet to be written to disk is discarded. This routine should only be used to force a file closed in the event that DOS CLOSE is unable to close the file (for example, if the media is damaged or permanently changed or removed).

Entry Parameters

Register Content
B File number 0…15

Exit Parameters

If OK:
Carry true
A corrupt
Otherwise:
Carry false
A=Error code
Always:
BC DE HL IX corrupt, all other registers preserved.