Skip to content

SeqEOF

Include: Use System\FileSystem.pkg

See Also: Direct_Input, Read, Read_Block, Read_Line, Close_Input, Sequential Channels

Purpose

Indicates that the end of a sequential input file has been reached.

Type

Boolean

Example

Handle hFile
String sLine

Get Seq_New_Channel to hFile
Direct_Input Channel hFile FILE "test1.txt"
While (not(SeqEof))
    Read_Line Channel hFile sLine
Loop
Close_Input Channel hFile
Send Seq_Release_Channel hFile