Liam's BitchX Command Reference
BitchX scripting function $eof()
- eof
- Function
- $eof()
- Usage
- $eof(filenum)
- Returns
- 0 or 1 depending on if the next char in the file is an EOF
Note: Unix doesn't have an EOF char; presumably eof() will return
1 in that case if there is no more data to read.
- Example
- $open(pfft R) returns 10
$eof(10) returns 0