This is a very small problem: the compiler reports the error:
0009) n = 3
*** N must appear in a type declaration because IMPLICIT NONE has been used
1 ERROR [<PROBLEM_ERROR_STOP> FTN95/Win32 v5.40.0]
*** Compilation failed
Nevertheless, the program is executed. The program was run with FTN95 version 5.40 and the following batch file:
del comp.lis
del *.obj
del *.exe
ftn95 Problem_Error_Stop.f95 /Checkmate /underflow >> comp.lis
slink LinkList > link.lis
sdbg Problem_Error_Stop.exe
I have never experienced this error in previous versions. The test program is:
Winapp
Program Problem_Error_Stop
Implicit None
! Integer :: n
n = 3
Write (*,*) ' n = ', n
End Program Problem_Error_Stop
The linkfile is:
LOAD Problem_Error_Stop
file Problem_Error_Stop.exe
I do not think that this behaviour is intended since the batch file stops if slink is not used.
Best regards,
Klaus Lassmann