EOF Function

Applies to TestComplete 15.69, last modified on November 13, 2024

The EOF function checks whether the file pointer is at the end of the file.

Declaration

EOF(FileVar) Parameters
FileVar [in] Required Variant
Result     Boolean  

Description

Checks whether the file pointer is at the end of the desired file.

Parameters

The function has the following parameter:

FileVar

Specifies the file variable, which is associated with the desired file by calling the AssignFile procedure.

Return Value

Returns True if the pointer is at the end of the file (or if the file is empty). Otherwise, returns False.

See Also

DelphiScript - List of Supported Routines and Variables
AssignFile

Highlight search results