Function eof()

← Back to Module standardio



Module standardio → eof()

Description

Check whether the EOF flag of standard input is set or not. This is similar to C++'s ios::eof function

eof()


Parameters

There are no parameters.


Return Value


Usage Example

while !eof()
    s = readln()
    writeln(s)
endwhile


Availability

This function is available on Dinfio version 3.1.06 or later