The eoln function

Description

The eoln function tests whether a text file is at end-of-line, and returns a value of type boolean that indicates the result of the test. If the file tested is at end-of-line then the value true is returned, and if the file tested in not at end-of-file then the value false is returned.

Parameter

The eoln function's optional parameter is a reference to a file variable of type text. If the optional parameter is supplied then the eoln function tests the file associated with the parameter. If the optional parameter is not supplied then the file associated with the built-in variable input is tested.

Portability

Operating Systems: All
Standard Pascal: Yes