Hi Fred,
vellieux <[email protected]> writes:
[...]
> I get errors (at run time) of the type:
>
> At line 138 of file program.f (unit = 6, file = 'stdout')
> Fortran runtime error: Missing initial left parenthesis in format
>
[...]
Mmm, that kind of error rings a bell … is the relevant format a string
rather than given in a FORMAT statement? If so, you need round brackets
INSIDE the format string, i.e.
write (*, '(i5)') 123
rather than
write (*, 'i5') 123
—this can manifest itself at run‐time, especially if the format is in a
character variable.
--
Ian ◎