----- Original Message -----
From: "Anton Shterenlikht" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Tuesday, September 06, 2016 2:05 AM
Subject: how to share a format statement between routines in a module?
> Compilers tell me that FORMAT statement
> cannot appear in the specification part of a module.
> Where is this restriction in the standard?
>
> I have a module with a number of routines,
> all of which use the same FORMAT statement.
> I was planning to avoid code replication
> by defining a single FORMAT statement in a module
> and then make it available to all routines via
> host association. This seems prohibited.
> What is the best way to use the same FORMAT
> statement in all routines in a module?
You can share a format specfication.
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
|