## `generate::Macrofort::closeOutputFile` -- close FORTRAN file

#### Introduction

`Mac::closeOutputFile` (where `Mac:=generate::Macrofort`) closes the FORTRAN file opened by `Mac::openOutputFile`.

#### Call(s)

`generate::Macrofort::closeOutputFile()`

#### Returns

the void object of domain type `DOM_NULL`

#### Side Effects

Closes FORTRAN file opened by `Mac::openOutputFile`.

#### Related Functions

`generate::Macrofort::genFor`, `generate::Macrofort::openOutputFile`

#### Details

- `Mac::closeOutputFile` (where `Mac:=generate::Macrofort`) closes the ascii file on which all FORTRAN code generated by successive calls to `Mac::genFor` (see `Mac::genFor` and `Mac::init` for more details) was written.

  `Mac::closedOutputFile` MUST be called at the end of the last call to `Mac::genFor`.

  The help-pages of `Mac::genFor`, `Mac::init` and related functions provide examples.

Do you have questions or comments?
Copyright © SciFace Software GmbH & Co. KG 2000