Sfairadora

  • Reference Guide

open

f <- open(name
f <- open(name, flags)
The parameter f is a variable of the type File. The function opens the file specified by the parameter name. The file of that must already exist. If the parameter flags is specified, it contains a combination of the file opening and creation constants. If the parameter flags is not specified, the FILE_OPEN_READ is assumed.

Return Value

An l-value referring to the variable f is returned. If an error occurs, an Error value is returned.

See Also