ReadFile()

Syntax

Result = ReadFile(#File, FileName$)

Description

Open an existing file for read only operations. If 'Result' is not 0, the file is effectively opened, else the file can't be opened. It must be always tested, as performing operations on a non opened file will cause severe crashs.

Supported OS

Windows, AmigaOS, Linux

File - Index