impure functionclose

Close file

Extends from Modelica.Icons.Function (Icon for functions).

Information

Syntax

Streams.close(fileName)

Description

Close file if it is open. Ignore call if file is already closed or does not exist.

Inputs

TypeNameDefaultDescription
StringfileNameName of the file that shall be closed