Hi Fred,

vellieux <frederic.velli...@ibs.fr> 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 ◎

Reply via email to