LOTUSSCRIPT LANGUAGE


Close statement
Example

Closes one or more open files, after writing all internally buffered data to the files.

Syntax

Close [ [ # ] fileNumber [ , [ # ] fileNumber ] ... ]

Elements

fileNumber


Usage

The pound sign (#) preceding fileNumber is optional and has no effect on the statement.

Before closing the open files, Close writes all internally buffered data to the files.

If LotusScript encounters a run-time error that is not handled by an On Error statement, LotusScript closes all open files; otherwise, the files remain open.

If the value of fileNumber is contains a fraction, LotusScript rounds the value before using it.

Example
See Also