From WikiChip
$feof identifier - mIRC
< mirc‎ | identifiers

$feof returns 1 if the end of the file was reached from the last file access attempt in any script, 0 otherwise.


Synopsis[edit]

$feof

Paramters[edit]

None

Properties[edit]

None

Example[edit]

//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[edit]

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[edit]

[Expand]
v · d · e mIRC identifier list