Skip to content
Narta Xaymar Dirks edited this page Oct 28, 2026 · 5 revisions

Blitz3DBlitzPlusBlitzBasic

Eof

Eof:Int32 stream:Int32
Parameter Mode Type Default Description
stream In Int32 required The stream to check.

Returns: 1 when a file has been read to its end, otherwise 0.

Description

Not documented yet.

Examples

file = WriteFile("streams_eof_example.tmp")
WriteLine file, "a"
WriteLine file, "b"
CloseFile file
file = ReadFile("streams_eof_example.tmp")
While Not Eof(file)
	Print ReadLine$(file)
Wend
CloseFile file
DeleteFile "streams_eof_example.tmp"
a
b

Related Commands

CopyStream, ReadAvail, ReadByte

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally