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 read-only mode then operations on the file associated with the file variable are allowed as follow:

Also the file must already exist when the file variable is opened, it's contents are preserved, and the current file position is set to the beginning of the file.

Contents