Author |
Message |
Topic: 'USE, INTRINSIC ::' vs 'USE' |
Kenneth_Smith
Replies: 2
Views: 144
|
Forum: Support Posted: Thu Oct 31, 2024 9:25 am Subject: |
Thanks Paul, I am a little behind the times at V9.03 - I will fix that! |
Topic: 'USE, INTRINSIC ::' vs 'USE' |
Kenneth_Smith
Replies: 2
Views: 144
|
Forum: Support Posted: Wed Oct 30, 2024 12:11 pm Subject: 'USE, INTRINSIC ::' vs 'USE' |
The following program compiles and runs as expected with FTN95.
program p
use iso_fortran_env, only: dp => real64
print*, dp
end
The alternative �modern� equivalent (I think this is the ... |
Topic: EXPORT_WINDOW_IMAGE@ |
Kenneth_Smith
Replies: 7
Views: 1161
|
Forum: ClearWin+ Posted: Mon Oct 21, 2024 10:03 am Subject: |
Paul,
Thanks for the one line fix.
This works well in my application:
iw = SetDpiAwareness@(2)
No need for you to take this further.
Ken |
Topic: EXPORT_WINDOW_IMAGE@ |
Kenneth_Smith
Replies: 7
Views: 1161
|
Forum: ClearWin+ Posted: Sat Oct 19, 2024 10:52 am Subject: |
Paul,
Thanks for confirming that the sample program works correctly for you.
Encouraged by this I interrogated the system settings this morning, and I see there is an option:
System > Dis ... |
Topic: EXPORT_WINDOW_IMAGE@ |
Kenneth_Smith
Replies: 7
Views: 1161
|
Forum: ClearWin+ Posted: Fri Oct 18, 2024 3:16 pm Subject: |
John,
Thanks for your comments and observations.
EXPORT_WINDOW_IMAGE@ is a relatively new feature which allows you to capture the whole window including controls that surround the graphics regio ... |
Topic: EXPORT_WINDOW_IMAGE@ |
Kenneth_Smith
Replies: 7
Views: 1161
|
Forum: ClearWin+ Posted: Fri Oct 18, 2024 12:53 pm Subject: |
Here is a link to two images for the two scenarios described above:
https://www.dropbox.com/scl/fi/m0b9l1vkyu6oz4fclcbg9/example.pdf?rlkey=5nx1g978s847lp1ucley1vkgo&st=lk0fjqtt&dl=0 |
Topic: EXPORT_WINDOW_IMAGE@ |
Kenneth_Smith
Replies: 7
Views: 1161
|
Forum: ClearWin+ Posted: Fri Oct 18, 2024 12:43 pm Subject: EXPORT_WINDOW_IMAGE@ |
I don�t normally use an external monitor with my laptop, and I received some feedback from a user who does.
The following program creates a %gr region and has some controls to the right of this.
... |
Topic: %pl show coodinates at mouse |
Kenneth_Smith
Replies: 2
Views: 723
|
Forum: ClearWin+ Posted: Wed Oct 16, 2024 3:25 pm Subject: |
Paul's example reminded me that in general a %pv could be applied to %pl. Here is an updated version of the code in my first post that shows the modifications required for this more general case.
... |
Topic: %pl show coodinates at mouse |
Kenneth_Smith
Replies: 2
Views: 723
|
Forum: ClearWin+ Posted: Wed Oct 16, 2024 11:49 am Subject: %pl show coodinates at mouse |
I have tried various ways of displaying coordinates interactively as the mouse moves across a %pl graph. After much experimenting, I have concluded that the method outlined in the code below is the m ... |
Topic: Bug with 32 bit compiler |
Kenneth_Smith
Replies: 5
Views: 1341
|
Forum: Support Posted: Sun Oct 13, 2024 12:41 pm Subject: |
Here is a simplified reproducer.
program p
implicit none
real*8 :: a, a2
integer :: i
write(*,*) 'a =random_pmhalf(), followed by a2 = a**2'
do i = 1, 10
... |
Topic: Bug with 32 bit compiler |
Kenneth_Smith
Replies: 5
Views: 1341
|
Forum: Support Posted: Sun Oct 13, 2024 11:41 am Subject: |
John,
It took me a while to whittle the program that these module functions came from down to something that reproduced the error, and I never got as far as stepping through the reproducer one line ... |
Topic: Bug with 32 bit compiler |
Kenneth_Smith
Replies: 5
Views: 1341
|
Forum: Support Posted: Sat Oct 12, 2024 5:39 pm Subject: Bug with 32 bit compiler |
I think that the following code reveals a bug with the 32 bit compiler. The variable a2 must always be positive.
module random_numbers
implicit none
integer, parameter :: dp = kind(1 ... |
Topic: Puzzle |
Kenneth_Smith
Replies: 4
Views: 3331
|
Forum: General Posted: Sat Oct 12, 2024 5:21 pm Subject: |
mecej4, thanks for taking the time to look at this. |
Topic: Puzzle |
Kenneth_Smith
Replies: 4
Views: 3331
|
Forum: General Posted: Thu Oct 10, 2024 8:00 pm Subject: |
Paul, Thanks for clearing this up. It was the failure of "IMPLICIT NONE" which caused the problem in the larger program I was looking at. The AI critique of simple example simply added to ... |
Topic: Puzzle |
Kenneth_Smith
Replies: 4
Views: 3331
|
Forum: General Posted: Thu Oct 10, 2024 12:11 pm Subject: Puzzle |
This is not a bug report, since I cannot determine what a standard conforming compiler should actually do with this code. So it's a puzzle for those that like that kind of thing.
module kind_mod
... |
|