CreateFile()

Syntax

Result = CreateFile(#File, FileName$)

Description

Create an empty file. If the file was existing, it open it and replace it by a blank one ! Careful. If 'Result' is not 0, the file is effectively created, else the creation has failed. It must be always tested, as performing operations on a non created file will cause severe crashs.

Supported OS

Windows, AmigaOS, Linux

File - Index