• Reference Guide


f <- create(name)
f <- create(name, flags)
The parameter f is a variable of the type File. The function creates a new file with the specified name (a parameter of the String type) and opens it. If the file already exists, the function removes its content. If the flags parameter is specified, it contains a combination of the file opening a creation constants. If the flags parameter is not specified, the FILE_OPEN_WRITE constant 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