Contents

The mode in which a file variable is opened specifies which operations can be performed on the file associated with the file variable, and also what happens to the file when the file variable is opened. If a file variable is opened in write-only mode then operations on the file associated with the file variable are allowed as follow:

Also if the file already exists when the file variable is opened then it's contents are deleted. If the file does not already exist when the file variable is opened then it is created, and is initially empty.

Contents