Who knows Salford Fortan-77?
Why in the following simplest program (three lines) is got "run-time error encountered"?
a= 1.0 print *, a end [Salford FTN77/Win32 v4.03, Copyright (c) Salford Software Ltd. 1988-1998] Licensed to: FTN77 Personal Edition NO ERRORS [<MAIN@>FTN77 Ver 4.03] 1.00000 ****** RUN77: run-time error encountered ****** In Main Program at line 3 [file MAIN.FOR] |
Re: Who knows Salford Fortan-77?
Maybe the compiler wants a "stop" just above the "end" statement?
|
Re: Who knows Salford Fortan-77?
With 'stop' message is the same:
1.00000 ****** RUN77: run-time error encountered ****** In Main Program at line 3 [file MAIN.FOR] 1: a= 1.0 2: print *, a 3: stop 4: end |
Re: Who knows Salford Fortan-77?
Since the program is executing as expected the "error" probably lies with the interaction of the Salford runtime code with the Windows Operating System. This compiler is old and, I presume, you are running with a current version of Windows? Typically commercial programs had to work around bugs in the Windows OS and as the OS improves/changes the workarounds do not always behave as expected.
If my guess is correct then try running on an old version of Windows. Alternatively try adding a program statement. Although this is not required it may be expected. |
Re: Who knows Salford Fortran-77?
I started the program in Win-XP and Win-98. I don't have more old versions. Operator 'program' gives the same. This version of Fortran is not commercial but free for download(http://www.salfordsoftware.co.uk/sof...compilers.html). Really, this message appears only at returning in Windows, and all results are true, but it is not so pleasant to read its each time. Thanks.
|
Re: Who knows Salford Fortan-77?
toi muon biet va tim hieu ve phan mem nay ,kinh mong cong ty cho cho bite them ve thong tin nay va toi muon co duoc phien ban nay . kinh mong quy cong ty giup do
|
All times are GMT -4. The time now is 08:19. |