From WikiChip
$feof Identifier - mIRC
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$feof return 1 if the end of the file was reached from the last file access attempt in any script, 0 otherwise
Synopsis
$feof
Paramters
None
Properties
None
Example
//write -c test.txt test | fopen test test.txt | echo -a $fread(test) | echo -a $feof | echo -a > $fread(test) | echo -a $feof | fclose test | remove test.txt
Note that when reading a file line by line with $fread, you need one extra evaluation so that $feof is set to 1
Compatibility
Added: mIRC v6.1
Added on: 29 Aug 2003
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See Also
$ferr $fopen $fread $fgetc /flist /fopen /fclose /fwrite /fseek