forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

New Video
Goto page 1, 2, 3, 4, 5, 6  Next
 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+
View previous topic :: View next topic  
Author Message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Wed Jun 17, 2020 11:54 am    Post subject: New Video Reply with quote

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
View user's profile Send private message AIM Address
Kenneth_Smith



Joined: 18 May 2012
Posts: 697
Location: Hamilton, Lanarkshire, Scotland.

PostPosted: Wed Jun 17, 2020 5:50 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Thu Jun 18, 2020 7:46 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Martin_K



Joined: 09 Apr 2020
Posts: 227

PostPosted: Thu Jun 18, 2020 11:46 am    Post subject: Reply with quote

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
View user's profile Send private message
Martin_K



Joined: 09 Apr 2020
Posts: 227

PostPosted: Thu Jun 18, 2020 11:58 am    Post subject: Reply with quote

I forgot to add x64 linker message:

Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Thu Jun 18, 2020 12:26 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Kenneth_Smith



Joined: 18 May 2012
Posts: 697
Location: Hamilton, Lanarkshire, Scotland.

PostPosted: Thu Jun 18, 2020 2:17 pm    Post subject: Reply with quote

Thanks Paul, That works for me now.
Back to top
View user's profile Send private message Visit poster's website
mecej4



Joined: 31 Oct 2006
Posts: 1885

PostPosted: Thu Jun 18, 2020 2:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Thu Jun 18, 2020 2:37 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2388
Location: Yateley, Hants, UK

PostPosted: Thu Jun 18, 2020 3:36 pm    Post subject: Reply with quote

What constitutes 'new' and 'old'?

E
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Thu Jun 18, 2020 3:43 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Kenneth_Smith



Joined: 18 May 2012
Posts: 697
Location: Hamilton, Lanarkshire, Scotland.

PostPosted: Thu Jun 18, 2020 4:28 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
mecej4



Joined: 31 Oct 2006
Posts: 1885

PostPosted: Thu Jun 18, 2020 4:37 pm    Post subject: Reply with quote

Paul, the new MOD and MOD64 files in your clrwin.zip work fine.
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Fri Jun 19, 2020 8:43 am    Post subject: Reply with quote

Here is a link to a new download. Please make sure that clearwin.ins, clrwin.mod and clrwin.mod64 are installed into the INCLUDE folder that is a subfolder of the folder which contains FTN95.exe.

https://www.dropbox.com/s/55cu3lbhvwv1m14/SimplePlot.zip?dl=0
Back to top
View user's profile Send private message AIM Address
Martin_K



Joined: 09 Apr 2020
Posts: 227

PostPosted: Fri Jun 19, 2020 11:08 am    Post subject: Reply with quote

Great job - thanks Paul!

It works problem free at the moment!

Martin
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+ All times are GMT + 1 Hour
Goto page 1, 2, 3, 4, 5, 6  Next
Page 1 of 6

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group