Author |
Message |
Topic: Compiler ignores syntax error with /opt |
mecej4
Replies: 5
Views: 39
|
Forum: Support Posted: Tue Jan 19, 2021 4:13 pm Subject: |
Paul, thanks for the rapid resolution of the issue.
Eddie, please note that the index variable i is not defined when the IF clause is evaluated; given that error, an extension does not make sense.
... |
Topic: Compiler ignores syntax error with /opt |
mecej4
Replies: 5
Views: 39
|
Forum: Support Posted: Tue Jan 19, 2021 12:41 pm Subject: Compiler ignores syntax error with /opt |
The following test program contains a syntax error, as shown in the end-of-line comment. FTN95 8.70 compiles the program to an EXE when the /opt option is specified, with or without /64.
program ts ... |
Topic: Default Integer KIND 7 compiler option |
mecej4
Replies: 4
Views: 86
|
Forum: 64-bit Posted: Sun Jan 17, 2021 7:33 pm Subject: |
As you can read in the documentation ( https://silverfrost.com/ftn95-help/x64/intro.aspx ), FTN95 permits you to specify KIND=7 for integer variables, which are then treated as KIND=3 for 32-bit progr ... |
Topic: Internal Compiler Error (V 8.70) |
mecej4
Replies: 1
Views: 106
|
Forum: Support Posted: Wed Jan 13, 2021 3:27 pm Subject: Internal Compiler Error (V 8.70) |
When one tries to compile the program below with FTN95 Version 8.70, an internal error occurs.
program charset
implicit none
integer i
character :: alfbet(26) = [ ... |
Topic: Compiler abort with /64 /undef |
mecej4
Replies: 7
Views: 299
|
Forum: 64-bit Posted: Tue Jan 12, 2021 5:01 pm Subject: |
Ah, I had not noticed that "allocate on assignment" was present in 8.70 -- I downloaded the new version quite recently. I'll try it out on examples that use this feature.
Thanks. |
Topic: Compiler abort with /64 /undef |
mecej4
Replies: 7
Views: 299
|
Forum: 64-bit Posted: Tue Jan 12, 2021 11:14 am Subject: |
No, Paul, I meant the feature that causes a variable declared as ALLOCATABLE to become allocated when a value is assigned to it. The details are spelled out in the Fortran 2018 Standard ( Section 9.7. ... |
Topic: Compiler abort with /64 /undef |
mecej4
Replies: 7
Views: 299
|
Forum: 64-bit Posted: Tue Jan 12, 2021 3:00 am Subject: |
Paul,
Each new temporary array that is introduced to overcome this limitation may require the addition of declaration, allocation and deallocation statements for that array.
In other threads we ... |
Topic: Unexpected Tree-print console output when compiling |
mecej4
Replies: 2
Views: 176
|
Forum: Support Posted: Wed Jan 06, 2021 4:53 pm Subject: |
Paul,
No problem at all, it was just a minor issue that I knew that you would take care of once it was reported.
Happy New Year! |
Topic: Unexpected Tree-print console output when compiling |
mecej4
Replies: 2
Views: 176
|
Forum: Support Posted: Wed Jan 06, 2021 1:34 pm Subject: Unexpected Tree-print console output when compiling |
FTN95 V 8.70, with or without /64, and /check or /checkmate, and in addition /check_alias, when compiling the third subroutine in file http://elib.zib.de/pub/elib/codelib/nlscon/nlscon.f , lines 1203 ... |
Topic: generating a list of the current stack at run time |
mecej4
Replies: 7
Views: 256
|
Forum: General Posted: Tue Jan 05, 2021 4:06 pm Subject: Re: |
very interesting. Exactly what i'm looking for. i wonder if it would understand the FTN95 stack if it was available in a DLL... :wink: !
K
For such routines to work, the compiler should issue ... |
Topic: generating a list of the current stack at run time |
mecej4
Replies: 7
Views: 256
|
Forum: General Posted: Tue Jan 05, 2021 2:13 pm Subject: |
Compaq Fortran (two decades ago) and Intel Fortran (currently) provide a subroutine TRACEBACKQQ that serves the purpose quite well. Optional arguments are provided to allow the program to print out a ... |
Topic: Missing FTN95 intrinsic INVALID_FLOAT@() |
mecej4
Replies: 2
Views: 287
|
Forum: Support Posted: Wed Dec 23, 2020 8:31 pm Subject: |
Thank you, Paul. |
Topic: Missing FTN95 intrinsic INVALID_FLOAT@() |
mecej4
Replies: 2
Views: 287
|
Forum: Support Posted: Wed Dec 23, 2020 1:16 pm Subject: Missing FTN95 intrinsic INVALID_FLOAT@() |
The FTN95 8.70 help file contains descriptions of the non-standard intrinsic functions INVALID_FLOAT@ and INVALID_DOUBLE@, but I do not see them in the online documentation at https://silverfrost.com/ ... |
Topic: Dum Array |
mecej4
Replies: 9
Views: 1993
|
Forum: Plato Posted: Sat Dec 12, 2020 4:49 pm Subject: |
John, the '2' is just a continuation mark in column 6, and is not material to the error.
If the source file had been free-form Fortran, and the two lines had been unfolded into a single line, the ... |
Topic: How to quit Excel and enter the 21st Century |
mecej4
Replies: 14
Views: 915
|
Forum: General Posted: Thu Dec 10, 2020 1:47 pm Subject: |
Eddie may be on to something!
Decades ago, there was a tongue-in-cheek recommendation that we should drive on the left in the northern hemisphere (and on the right in the southern hemisphere) to d ... |
|