$ferr » History » Version 3
Per Amundsen, 02/22/2023 04:54 PM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | *$ferr* |
||
4 | |||
5 | Returns any errors during the last file access attempt. |
||
6 | |||
7 | 2 | Per Amundsen | _Can be used inside text without being surrounded by white spaces._ |
8 | |||
9 | 3 | Per Amundsen | _See also [[/fopen]], [[/fclose]], [[/fwrite]], [[/fseek]], [[/flist]], [[$fread]], [[$fgetc]], [[$feof]], [[$fopen]]._ |
10 | |||
11 | 1 | Per Amundsen | *Example* |
12 | |||
13 | <pre> |
||
14 | ; Print the status from $ferr. |
||
15 | //echo -ag Error was: $ferr |
||
16 | </pre> |