Sfairadora

  • Reference Guide

abort

f <- abort
f <- abort()
The parameter f is a variable of the type File. The file must be open with one of the functions open or create with the FILE_OPEN_ATOMIC flag. The abort function discards all the changed made to the file and closes the file. After that, it is possible to call an open function again for the variable f.
If the variable f is destroyed without calling close/abort, and the file was open with the FILE_OPEN_ATOMIC flag, all the files are discarded. In other cases, the file is regularly closed.

Return Value

An l-value referring to the variable f is returned. If an error occurs, an Error value is returned.

See Also