Author |
Message |
Topic: Character value gets lost |
simon
Replies: 1
Views: 208
|
Forum: Support Posted: Thu Jan 05, 2023 11:36 pm Subject: |
Module part 1:
Module m
!
Type t
Integer :: i1
Integer :: i2
Integer :: i3
End Type t
Interface Operator(<)
Module Proced ... |
Topic: Character value gets lost |
simon
Replies: 1
Views: 208
|
Forum: Support Posted: Thu Jan 05, 2023 11:28 pm Subject: Character value gets lost |
The following program may be eligible for an award for the most weird and useless nonsense, but it generates an incorrect result when compiled with /FULL_DEBUG. The program is on the long side, but I ... |
Topic: Compiler flags only one incorrectly declared variable |
simon
Replies: 11
Views: 535
|
Forum: Support Posted: Wed Dec 28, 2022 5:52 pm Subject: |
I second that. I will be glad to have the /ALL_ERRORS compiler option. |
Topic: Array lost in derived type |
simon
Replies: 11
Views: 780
|
Forum: Support Posted: Mon Dec 19, 2022 5:07 pm Subject: |
Hi Paul,
I'm sorry this is so complex. However, I believe that because John's response gave me a better sense of how to avoid the problem, I have a satisfactory work around. So I no longer consider t ... |
Topic: Array lost in derived type |
simon
Replies: 11
Views: 780
|
Forum: Support Posted: Fri Dec 16, 2022 5:55 pm Subject: |
John,
Your comments have set me thinking. First, let's remove c from the definition of t3, for simplification. Consider the following (I include all the code for ease of following):
Module m
!
... |
Topic: Array lost in derived type |
simon
Replies: 11
Views: 780
|
Forum: Support Posted: Wed Dec 14, 2022 9:06 pm Subject: |
For what it's worth, the same problem occurs if the pointer is converted to an allocatable array:
Module m
!
Type t1
Integer :: i1
Integer :: i2
End Type t1
... |
Topic: DO_EXIT |
simon
Replies: 1
Views: 497
|
Forum: ClearWin+ Posted: Wed Dec 14, 2022 8:38 pm Subject: DO_EXIT |
In cwplus.enh, paragraph 473, new parameters are described. These appear to be available in clrwin, but not in clrwin$. Can they be added? |
Topic: Clearwin on Linux and Windows |
simon
Replies: 29
Views: 4025
|
Forum: ClearWin+ Posted: Tue Dec 13, 2022 10:04 pm Subject: |
The curly-brackets solution you mentioned here:
http://forums.silverfrost.com/viewtopic.php?t=4715
solves this bitmap problem. Evidently something is not working with the resource script file, but t ... |
Topic: Clearwin on Linux and Windows |
simon
Replies: 29
Views: 4025
|
Forum: ClearWin+ Posted: Fri Dec 09, 2022 6:33 pm Subject: |
Hi Paul,
I understand that %cw will soon be restored - if so, then I will wait for the new release.
My bitmap example is not working with NAGWare. Here is a simple example, which works as expect ... |
Topic: Clearwin on Linux and Windows |
simon
Replies: 29
Views: 4025
|
Forum: ClearWin+ Posted: Thu Dec 08, 2022 9:46 pm Subject: |
How do we include cw_write@ (and presumably we need to use cw_write$)? Is it in clrwin$?
On a slightly separate issue, I have not been able to get %bm to work with other compilers. Is there anythin ... |
Topic: Array lost in derived type |
simon
Replies: 11
Views: 780
|
Forum: Support Posted: Thu Dec 08, 2022 3:12 pm Subject: |
Hi Paul,
Indeed, in this case, it appears that only Print is not working, and printing individual components works, as in your example. However, I detected this problem in my much larger program beca ... |
Topic: Array lost in derived type |
simon
Replies: 11
Views: 780
|
Forum: Support Posted: Thu Dec 08, 2022 1:23 am Subject: Array lost in derived type |
The following program defines a derived type at3 in terms of another derived type (at2), which in turn is defined as an array of yet another derived type (at1). Subroutine s is called to initialise a ... |
Topic: Interface intent differs from subroutine intent |
simon
Replies: 6
Views: 1119
|
Forum: Support Posted: Thu Sep 15, 2022 5:35 pm Subject: |
There may well be scope for improving on interface design. However, I have found them useful when passing a procedure as an argument to a subroutine when the procedure cannot be included in a Use stat ... |
Topic: Are Intel compiler unformatted files readable by FTN95? |
simon
Replies: 14
Views: 1670
|
Forum: General Posted: Mon Jul 11, 2022 12:59 am Subject: |
Ian Lambley has posted something about this in at least a couple of places on the forum. Here's one:
http://forums.silverfrost.com/viewtopic.php?t=2722&highlight=endian |
Topic: Fortran 2003 and 2008 features |
simon
Replies: 141
Views: 49321
|
Forum: Suggestions Posted: Fri Jul 08, 2022 9:47 pm Subject: |
Understood. I can certainly manage without submodules high on the priority list fo rnow. |
|