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 append 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 preserved and the current file position is set to the end of the file. If the file does not already exist when the file variable is opened then it is created, and is initially empty.

Contents