I have been using the Fortran inbuilt function TINY (running
gfortran) but now the compiler baulks:
5 | print '(" Tiny(1) =", es12.2)', TINY(1.0_dbl)
| 1
Error: Syntax error in PRINT statement at (1)
(I am defining dbl in a module).
What is going on?
On Tue, 26 Nov 2024 14:42:12 +0000, db wrote:
I have been using the Fortran inbuilt function TINY (running gfortran)
but now the compiler baulks:
5 | print '(" Tiny(1) =", es12.2)', TINY(1.0_dbl)
| 1
Error: Syntax error in PRINT statement at (1)
(I am defining dbl in a module).
What is going on?
Do you have an unprintable control character somewhere in that line of
code?
Kind of hard to say anything more without seeing a minimum complete
code.
What version of gfortran and what OS and hardware?
| Sysop: | DaiTengu |
|---|---|
| Location: | Appleton, WI |
| Users: | 1,073 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 235:42:02 |
| Calls: | 13,783 |
| Calls today: | 1 |
| Files: | 186,987 |
| D/L today: |
7,184 files (2,304M bytes) |
| Messages: | 2,435,389 |