Author |
Message |
Topic: %th[ms_style] with read-only controls |
PaulLaidler
Replies: 3
Views: 112
|
Forum: ClearWin+ Posted: Fri Jan 27, 2023 9:19 am Subject: |
Ralf
I have had a look at this and this feature is not currently available in ClearWin+ but could be added.
I will add this to the list as a request for a new feature. |
Topic: Array lost in derived type |
PaulLaidler
Replies: 11
Views: 785
|
Forum: Support Posted: Wed Jan 25, 2023 7:41 pm Subject: |
This bug has now been fixed for the next release of FTN95. |
Topic: %th[ms_style] with read-only controls |
PaulLaidler
Replies: 3
Views: 112
|
Forum: ClearWin+ Posted: Wed Jan 25, 2023 6:18 pm Subject: |
Ralf
If you are using recent DLLs for the ClearWin+ library you will get the option to continue and ignore the error.
If you have this option and are able to continue, do tooltips appear for the ... |
Topic: Alternative for New_Page@ |
PaulLaidler
Replies: 1
Views: 58
|
Forum: ClearWin+ Posted: Wed Jan 25, 2023 3:39 pm Subject: |
The internal name is __win_new_page and access could be provided via CLEARWIN.ins (or its module). It might need an alternative Fortran alias (other than NEW_PAGE@) for when DBOS.ins is used with CLEA ... |
Topic: Find current directory |
PaulLaidler
Replies: 11
Views: 214
|
Forum: Support Posted: Wed Jan 25, 2023 8:48 am Subject: |
Ken
In your version CURDIR@() appears on the RHS of an assignment within the function that is currently being compiled. This is enought information for it to assume that it must be an external func ... |
Topic: Find current directory |
PaulLaidler
Replies: 11
Views: 214
|
Forum: Support Posted: Tue Jan 24, 2023 3:52 pm Subject: |
The compiler needs to be informed that CURDIR@ is an external function.
character*256,external::CURDIR@ |
Topic: Resource not found message |
PaulLaidler
Replies: 11
Views: 252
|
Forum: ClearWin+ Posted: Sat Jan 21, 2023 3:35 pm Subject: |
SRC is an adaptation of the C++ compiler SCC so the strings are C strings and the backslash is an escape character.
Code written for a Fortran compiler uses Fortran CHARACTER variables and literal ... |
Topic: Resource not found message |
PaulLaidler
Replies: 11
Views: 252
|
Forum: ClearWin+ Posted: Fri Jan 20, 2023 11:52 am Subject: |
I am not sure but for 64 bit applications the RESOURCES directive only works when using /LINK or /LGO on the command line. |
Topic: GET_GSTORAGE@ doesn't always work? |
PaulLaidler
Replies: 52
Views: 1589
|
Forum: Support Posted: Tue Jan 17, 2023 7:09 pm Subject: |
Kenny
If you have a short working program that illustrates a false error report then please send it to us so that we can fix it. |
Topic: GET_GSTORAGE@ doesn't always work? |
PaulLaidler
Replies: 52
Views: 1589
|
Forum: Support Posted: Tue Jan 17, 2023 6:20 pm Subject: |
Kenny
You could try using
/inhibit_check 1 2
on the FTN95 command line but that may not be wise.
I am not really in a position to be able to provide advice on how to debug your code. |
Topic: GET_GSTORAGE@ doesn't always work? |
PaulLaidler
Replies: 52
Views: 1589
|
Forum: Support Posted: Sat Jan 14, 2023 8:05 am Subject: |
Kenny
This works fine for me (for both 32 bits and 64 bits)...
subroutine alloc(addr, size)
integer(7)::addr,size
character,pointer::arr(:)
ALLO ... |
Topic: GET_GSTORAGE@ doesn't always work? |
PaulLaidler
Replies: 52
Views: 1589
|
Forum: Support Posted: Fri Jan 13, 2023 4:22 pm Subject: |
I should have also tested the code for a 32 bit application. It works for 64 bits.
There is something wrong with addr = loc(arr). addr = loc(arr(1)) is better but still not right.
I will have to ... |
Topic: GET_GSTORAGE@ doesn't always work? |
PaulLaidler
Replies: 52
Views: 1589
|
Forum: Support Posted: Fri Jan 13, 2023 2:28 pm Subject: |
Kenny:
If you send me a personal message with your email address then I will email you a copy of the code.
mecej4:
Yes ASSOCIATED is better and avoids the warning message. I will edit the post.
... |
Topic: GET_GSTORAGE@ doesn't always work? |
PaulLaidler
Replies: 52
Views: 1589
|
Forum: Support Posted: Fri Jan 13, 2023 9:57 am Subject: |
Here is some code that illustrates how to get the address of a block of memory from the global heap using a call to ALLOCATE and FTN95.
subroutine alloc(addr, size)
integer(7): ... |
Topic: GET_GSTORAGE@ doesn't always work? |
PaulLaidler
Replies: 52
Views: 1589
|
Forum: Support Posted: Thu Jan 12, 2023 5:20 pm Subject: |
I have encountered a problem which means that I will not be able to provide access to the new routines described above.
At the moment the general advice is to move to 64 bits as soon as possible an ... |
|