Author |
Message |
Topic: %PL with x_date |
mecej4
Replies: 9
Views: 36697
|
Forum: ClearWin+ Posted: Wed Jul 16, 2025 2:15 pm Subject: Verification of dowts function |
The following is a noteworthy occurrence and you may wish to write a short main program that invokes dowts() (code posted above) to verify it (and reinforce @danrright's devotion to Devilry):
Next ye ... |
Topic: %PL with x_date |
mecej4
Replies: 9
Views: 36697
|
Forum: ClearWin+ Posted: Wed Jul 16, 2025 1:26 am Subject: Day of Week routine, Gregorian Calendar |
The Gregorian calendar defines a cycle that has a period of 400 years. If you count the common years in that cycle, multiply by 365, and add 366 times the number of leap years in that cycle, you get a ... |
Topic: warning 676 in recursive routines |
mecej4
Replies: 19
Views: 109751
|
Forum: Support Posted: Sun Jan 12, 2025 5:06 pm Subject: |
This thread reminded me of an impressive paper by Bentley and McIlroy, https://www.cs.dartmouth.edu/~doug/mdmspe.pdf
in which they show how to design a killer adversary for quicksort if the input lis ... |
Topic: Character string is lost |
mecej4
Replies: 8
Views: 29352
|
Forum: 64-bit Posted: Tue Nov 19, 2024 4:26 am Subject: |
Here are portions of F2008 that pertain:
F2008:
9.6.2R913: io-control-spec is UNIT = io-unit OR ...
9.5.1: R901: io-unit is file-unit-number OR * OR internal-file-variable
Here is the source of ... |
Topic: Puzzle |
mecej4
Replies: 5
Views: 26433
|
Forum: General Posted: Fri Oct 11, 2024 12:02 am Subject: |
Thanks, Kenneth, for this nice puzzling program. With these lines for the main program:
program main
use x_mod, only : a
use y_mod
use kind_mod
implicit none
print*, a ! FTN95 print ... |
Topic: version 9.04 |
mecej4
Replies: 22
Views: 61831
|
Forum: Support Posted: Wed Aug 21, 2024 6:35 pm Subject: |
I have run into this problem (Slink64 3.10 reports access violation). If the output EXE file is named explicitly with the linker's /file:<name>.exe"option, the problem is not seen! |
Topic: iFort linker called from Plato always includes ClearWin64 |
mecej4
Replies: 5
Views: 26312
|
Forum: Plato Posted: Fri May 31, 2024 4:04 pm Subject: |
The distribution of runtime library routines is different between 32- and 64-bit versions of Silverfrost Fortran. For your test program, the 64-bit versions of routines WSF1@@, CH@WSF and WSF2@ are in ... |
Topic: The error you will never find |
mecej4
Replies: 7
Views: 28428
|
Forum: General Posted: Thu May 23, 2024 2:09 pm Subject: |
Dan, what do you have in your FTN95.CFG (in the FTN95 base directory)?
I ask because I suspect that you have /no_banner in it, or you may be using some IDE/build system that modifies the messages t ... |
Topic: The error you will never find |
mecej4
Replies: 7
Views: 28428
|
Forum: General Posted: Tue May 21, 2024 11:31 pm Subject: |
Dan, I agree that the error message is confusing, and that the wording could be improved for clarity.
The standard specifies (Fortran 2018, Sec.8.2) that:
R801 type-declaration-stmt is
declara ... |
Topic: SDBG64 bleeds bits of source line to next line (source pane) |
mecej4
Replies: 4
Views: 32915
|
Forum: 64-bit Posted: Sat May 18, 2024 1:08 pm Subject: |
Thanks, Robert, the text bleed-over problem reported in this thread is not present in the revised SDBG64 (9.02 version) that you just made available.
After spending a few days exercising the new ve ... |
Topic: Program hangs on entering ASSOCIATE construct |
mecej4
Replies: 6
Views: 30190
|
Forum: Support Posted: Wed May 15, 2024 1:46 am Subject: |
Update on 19 May 2024:
The two test programs posted above (grist.f90 and gcgtst.f90) work correctly with FTN95 version 9.03.
Thanks to Silverfrost for enhancing the compiler to enable the ASSOCI ... |
Topic: Bugs related to allocatable arrays as subroutine arguments |
mecej4
Replies: 3
Views: 24798
|
Forum: Support Posted: Tue May 14, 2024 4:02 pm Subject: |
Thank you, I checked out the new version and it works. |
Topic: SDBG64 bleeds bits of source line to next line (source pane) |
mecej4
Replies: 4
Views: 32915
|
Forum: 64-bit Posted: Tue May 14, 2024 3:55 pm Subject: |
I posted this bug report over two months ago.
RSVP! |
Topic: SDBG64 with derived types |
mecej4
Replies: 16
Views: 86195
|
Forum: 64-bit Posted: Sat May 04, 2024 10:52 pm Subject: |
Dan, I used 9.02 without /check or /undef.
FTN95 gives, if I am not mistaken, an incorrect warning:
WARNING S:\LANG\dan.F90 12: MOD!SPECIES is not ALLOCATABLE yet is used in an ALLOCATE ... |
Topic: SDBG64 with derived types |
mecej4
Replies: 16
Views: 86195
|
Forum: 64-bit Posted: Fri May 03, 2024 2:56 pm Subject: |
Dan, your program is almost working. All that you have to do is to make sure that subscript bounds are honored, or, equivalently, allocate arrays with sufficient size.
Here is a fixed-up version:
... |
|