View previous topic :: View next topic |
Author |
Message |
DanRRight
Joined: 10 Mar 2008 Posts: 2834 Location: South Pole, Antarctica
|
Posted: Tue Jul 19, 2022 7:05 pm Post subject: Is this not an error? |
|
|
a=1
b=2
write(*,*) a, b,
End |
|
Back to top |
|
|
Kenneth_Smith
Joined: 18 May 2012 Posts: 697 Location: Hamilton, Lanarkshire, Scotland.
|
Posted: Tue Jul 19, 2022 7:23 pm Post subject: |
|
|
Yes. I think you are correct Dan. |
|
Back to top |
|
|
DanRRight
Joined: 10 Mar 2008 Posts: 2834 Location: South Pole, Antarctica
|
Posted: Tue Jul 19, 2022 10:35 pm Post subject: |
|
|
Ken,
Searching for the possible bug why i can not read files generated by other compilers with access='STREAM' i found similar suspicious place. Just checked : Intel compiler complained that this is an error though i doubt this was the reason of my problem |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7938 Location: Salford, UK
|
Posted: Wed Jul 20, 2022 7:45 am Post subject: |
|
|
Yes the compiler should complain about the comma at the end of the WRITE statement. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7938 Location: Salford, UK
|
Posted: Wed Jul 20, 2022 3:07 pm Post subject: |
|
|
This has now been fixed for the next release of FTN95. |
|
Back to top |
|
|
|