check if end of file has been reached
err=meof(fd)
scalar. The fd parameter returned by the function mopen. -1 stands for last opened file. Default value is -1.
scalar. Error indicator
The function meof will return a non null value if end of file
has been reached in a previous call to mget or mgetstr.
The function clearerr is used to reset the error flag and
EOF flag to zero.