Added in 1.9.0

$ferr

Returns any errors during the last file access attempt.

Can be used inside text without being surrounded by white spaces.

See also /fopen, /fclose, /fwrite, /fseek, /flist, $fread, $fgetc, $feof, $fopen.

Example

; Print the status from $ferr.
//echo -ag Error was: $ferr