EOF Function

Syntax:

EOF(StreamNum)

Group:

File

Description: 

Returns True if StreamNum is at the end of the file.

Parameters:

Parameter

Description

StreamNum

Streams 1 through 255 are private to each macro. Streams 256 through 511 are shared by all macros.

Example:

Sub Main
  Open "XXX" ForInput As #1
  While Not EOF(1)
  LineInput #1,L$
  Debug.Print L$
  Wend
  Close #1
End
Sub