| Author |
Message |
Topic: Different results for 32-Bit and 64-Bit versions |
Kenneth_Smith
Replies: 19
Views: 11766
|
Forum: Support Posted: Mon Dec 08, 2025 2:21 pm Subject: |
Not entirely fine - if you use Plato.
The Plato help says "When there is no project open, you can view the Project Explorer window in order to add references that are used when compiling and l ... |
Topic: Different results for 32-Bit and 64-Bit versions |
Kenneth_Smith
Replies: 19
Views: 11766
|
Forum: Support Posted: Sun Dec 07, 2025 11:36 pm Subject: |
Mecej4, Thanks for the feedback. Yes, I can replicate that error for the 64 bit test program using the the current FTN version, with the dlls on the Gitlab page that were prepared using FTN v8.97.2.
... |
Topic: Different results for 32-Bit and 64-Bit versions |
Kenneth_Smith
Replies: 19
Views: 11766
|
Forum: Support Posted: Sun Dec 07, 2025 11:58 am Subject: |
For NSWC Fortran routines + FTN95 see:
https://gitlab.com/silverfrost/nswc |
Topic: Save the entire window into the image file |
Kenneth_Smith
Replies: 13
Views: 1235
|
Forum: ClearWin+ Posted: Wed Dec 03, 2025 11:49 am Subject: |
I asked ChatGPT the question "Suppose I have a Clearwin program that produces a changing image. How to make a mp3 or 4 file from this?"
The answer was:
ffmpeg is a free, open-source co ... |
Topic: Save the entire window into the image file |
Kenneth_Smith
Replies: 13
Views: 1235
|
Forum: ClearWin+ Posted: Fri Nov 28, 2025 11:11 pm Subject: |
And here is one of Paul's examples from a few years ago:
module mymod
use clrwin
integer(7) hwnd
contains
integer function export()
iw = export_window_image@(hwnd,&qu ... |
Topic: Save the entire window into the image file |
Kenneth_Smith
Replies: 13
Views: 1235
|
Forum: ClearWin+ Posted: Fri Nov 28, 2025 10:59 pm Subject: |
Dan,
The sample program in the following post captures the full window and copies it to the clipboard using EXPORT_WINDOW_IMAGE@
https://forums.silverfrost.com/viewtopic.php?t=5002 |
Topic: %pl[native,external] + plot_mode@ |
Kenneth_Smith
Replies: 7
Views: 9878
|
Forum: ClearWin+ Posted: Sat Nov 22, 2025 1:47 pm Subject: |
| Thanks Paul, I took forward to experimenting with this addition. |
Topic: Please add new intrinsic functions that use x64 LEADZ,TRAILZ |
Kenneth_Smith
Replies: 6
Views: 1880
|
Forum: Suggestions Posted: Sun Nov 16, 2025 2:49 pm Subject: |
| The functions TRAILZ, LEADZ, and POPCNT (and also POPPAR) are listed as intrinsic functions in the 2008 standard. |
Topic: SIZE keyword in INQUIRE |
Kenneth_Smith
Replies: 10
Views: 1907
|
Forum: Support Posted: Mon Nov 10, 2025 11:09 am Subject: |
An alternative is to use fileinfo@ which works as shown below.
program test_inquire_size
implicit none
character(260) :: path
integer(2) :: mode, dev, r ... |
Topic: SIZE keyword in INQUIRE |
Kenneth_Smith
Replies: 10
Views: 1907
|
Forum: Support Posted: Mon Nov 10, 2025 12:32 am Subject: |
| The SIZE= specifier was added to the INQUIRE statement in Fortran 2003, i.e. after the Fortran 95 standard. |
Topic: code to calculate weekday for a given date |
Kenneth_Smith
Replies: 20
Views: 9045
|
Forum: General Posted: Thu Oct 30, 2025 10:27 pm Subject: |
In the DOW() function, in the line:
dow = mod(max(v, v+7),7) + 1
it appears that the code is trying to keep v positive but the expression mod(max(v, v+7),7) is not equivalent to ... |
Topic: code to calculate weekday for a given date |
Kenneth_Smith
Replies: 20
Views: 9045
|
Forum: General Posted: Wed Oct 29, 2025 10:46 am Subject: |
Here is a function to do the required check before calling DOW.
logical function is_valid_date(y, m, d)
! Returns .true. if (y, m, d) is a valid proleptic Gregorian calendar date.
... |
Topic: Fastest way to colour pixels in a %pl? |
Kenneth_Smith
Replies: 5
Views: 7602
|
Forum: ClearWin+ Posted: Thu Oct 02, 2025 7:35 pm Subject: |
Paul,
Thanks, that is very useful.
Your recollection is entirely consistent with what I have observed both without and with smoothing.
I will use draw_filled_rectangle@ instead of draw_pixe ... |
Topic: Fastest way to colour pixels in a %pl? |
Kenneth_Smith
Replies: 5
Views: 7602
|
Forum: ClearWin+ Posted: Thu Oct 02, 2025 2:29 pm Subject: Fastest way to colour pixels in a %pl? |
In the program below, a heat map is plotted by colouring pixels within the “PLOT_ADJUST” section of a %pl call back.
This task is performed using to nested loops to work across/down the pixel space ... |
Topic: winio@ |
Kenneth_Smith
Replies: 30
Views: 30800
|
Forum: 64-bit Posted: Tue Sep 30, 2025 7:11 pm Subject: |
i=winio@('%14.4wf ROT')
should be:
i=winio@('%14.4wf', ROT)
etc. |
| |