View previous topic :: View next topic |
Author |
Message |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Wed Jun 17, 2020 11:54 am Post subject: New Video |
|
|
A new video is available here...
https://www.youtube.com/watch?v=5SwhDmHNq7o
It describes a new feature of ClearWin+ that allows you to configure SimplePlot graphs (%pl).
In order to use this new feature you will need to update your DLLs and clearwin.ins. These, together with the samples used in the video can be downloaded from here...
https://www.dropbox.com/s/pb473st2vqlof5g/SimplePlot.zip?dl=0
clearwin.ins and clrwin.mod must be copied to the \Silverfrost\FTN95\Include\ folder which is a subfolder of the one that contains FTN95.exe.
p.s. With the current download, the new feature does not work in 32 bit mode.
p.p.s The above download has been deleted because of the problems identified below. Here is a new link... https://www.dropbox.com/s/55cu3lbhvwv1m14/SimplePlot.zip?dl=0
Last edited by PaulLaidler on Fri Jun 19, 2020 8:39 am; edited 3 times in total |
|
Back to top |
|
|
Kenneth_Smith
Joined: 18 May 2012 Posts: 697 Location: Hamilton, Lanarkshire, Scotland.
|
Posted: Wed Jun 17, 2020 5:50 pm Post subject: |
|
|
Paul,
I did like your new video – I watched it twice!
Unfortunately I do seem to have corrupted by installation. So reinstalled and went back to a clean copy of Silverfrost FTN95 version 8.61 (February 2020), which tested OK using the following simple code:
Code: | use clrwin
do ii = 1, 2
i = winio@('%^bt[Close]','exit')
end do
end
|
Then I copied across the new FTN and Plato executables, everything is OK with the above code.
Then I copied across the new debuggers, again everything is OK.
I copied across only todays DLLS and Lib files, again everything is OK. (The reason for this will become apparent below.)
Copied across todays clearwin.ins, into the include directory and again everything is OK.
Copied today’s clrwin.mod file into the include directory.
Now the 64 bit compiler is OK on the above test code, but Win32 bit complains
Quote: | Desktop\pr.F95(1) : error 681 - Error while reading MODULE definition file for CLRWIN |
At this stage I cannot compile your examples in today’s down load. Win32 fails with the error above, and 64 fails
Quote: | The following symbols were not defined:
WINOP_CHR@
|
I’ve go through this process a number of times now, and cannot see that I am missing anything, so this is a cry for help!
Ken |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Thu Jun 18, 2020 7:46 am Post subject: |
|
|
Ken
Please check...
a) that the DLLs are installed in the same folder as FTN95.exe.
b) clearwin.ins and clrwin.mod are installed in the subfolder called INCLUDE that is at the same level as FTN95.exe.
c) there are no other older DLLs on the PATH.
After that we may need to wait to see if anyone else has a problem with this update. |
|
Back to top |
|
|
Martin_K
Joined: 09 Apr 2020 Posts: 227
|
Posted: Thu Jun 18, 2020 11:46 am Post subject: |
|
|
Paul,
Congratulations! I also watched your video several times and the new features
are excellent! Just one note - would it be possible to add option SCALE to the new options? To have graphically and numerically expressed scale in the graphics area (below the graphics) would be excellent!
However, at this moment I can confirm Ken´s observations:
When I compiled your sample (simple0.f95), always getting the following error:
I also checked your last advise and everything (folder, files) is as it should be, despite of it the compiler returns above mentioned error.
Martin |
|
Back to top |
|
|
Martin_K
Joined: 09 Apr 2020 Posts: 227
|
Posted: Thu Jun 18, 2020 11:58 am Post subject: |
|
|
I forgot to add x64 linker message:
|
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Thu Jun 18, 2020 12:26 pm Post subject: |
|
|
It looks like the clrwin module will not work until you have a new FTN95. In the meantime the new feature will only be available when using "INCLUDE <clearwin.ins>" rather than "USE clrwin".
Notice also my postscript above. At the moment this is 64 bit only.
I assume that you will be able to use everything in the download apart from the new clrwin.mod. In other words, you should be able to install the DLLs and use them as normal. But when testing the new feature you will need to use the new clearwin.ins for now. |
|
Back to top |
|
|
Kenneth_Smith
Joined: 18 May 2012 Posts: 697 Location: Hamilton, Lanarkshire, Scotland.
|
Posted: Thu Jun 18, 2020 2:17 pm Post subject: |
|
|
Thanks Paul, That works for me now. |
|
Back to top |
|
|
mecej4
Joined: 31 Oct 2006 Posts: 1886
|
Posted: Thu Jun 18, 2020 2:20 pm Post subject: |
|
|
I spent a few minutes trying to troubleshoot the problems with clearwin.mod. I ran into the same error as Kenneth_Smith, and decided to try building the modules using the latest source file from the 8.61 distribution. (PS: mistakenly, when I first wrote this response, I thought that I had actually included the clearwin.ins in Paul's Simpleplot.zip):
Code: | 2020-06-11 17:21:16 ....A 45384 9976 clearwin.ins |
using the following wrapper:
Code: | module clearwin
include 'clearwin.ins'
end module |
The 8.62.1 compiler complained:
Code: | 1/0142) INTEGER*4 RGB@
*** The return type of native intrinsic functions such as RGB@ cannot be declared within a module (In include file |
In the INS file, we have the declaration of RGB@ split into two separate lines: the type declaration on line 142, and the EXTERNAL declaration on line 145.
I tried the following combined declaration:
Code: | INTEGER*4, EXTERNAL :: RGB@ |
and produced 32-bit and 64-bit module files. Using these module files instead of the ones in the FTN95 include directory, I found that Kenneth's test program could be compiled and built, 32-bit and 64-bit modes.
Last edited by mecej4 on Thu Jun 18, 2020 4:27 pm; edited 1 time in total |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Thu Jun 18, 2020 2:37 pm Post subject: |
|
|
mecej4
That's a good idea but if you use the clearwin.ins in the download then it does not contain RGB@ and it does have the new routine (WINOP_CHR@) used in the demo.
In fact I should probably upload a clrwin.mod compiled with an old FTN95.exe. |
|
Back to top |
|
|
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2388 Location: Yateley, Hants, UK
|
Posted: Thu Jun 18, 2020 3:36 pm Post subject: |
|
|
What constitutes 'new' and 'old'?
E |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Thu Jun 18, 2020 3:43 pm Post subject: |
|
|
I should be grateful if someone would try the mod files from here...
https://www.dropbox.com/s/01lb17y24uonv23/clrwin.zip?dl=0
If these work then I will create a new download that also works for 32 bits.
Eddie: I think that v8.61 is probably OK. |
|
Back to top |
|
|
Kenneth_Smith
Joined: 18 May 2012 Posts: 697 Location: Hamilton, Lanarkshire, Scotland.
|
Posted: Thu Jun 18, 2020 4:28 pm Post subject: |
|
|
Paul, these mod files appear to have no issue having run the test code above in 32 and 64, with USE CLRWIN. The sample code in yesterday's download is also OK for 64 bit. |
|
Back to top |
|
|
mecej4
Joined: 31 Oct 2006 Posts: 1886
|
Posted: Thu Jun 18, 2020 4:37 pm Post subject: |
|
|
Paul, the new MOD and MOD64 files in your clrwin.zip work fine. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
|
Back to top |
|
|
Martin_K
Joined: 09 Apr 2020 Posts: 227
|
Posted: Fri Jun 19, 2020 11:08 am Post subject: |
|
|
Great job - thanks Paul!
It works problem free at the moment!
Martin |
|
Back to top |
|
|
|