View previous topic :: View next topic |
Author |
Message |
AlanVardy
Joined: 17 Dec 2013 Posts: 16
|
Posted: Fri Jul 19, 2019 6:38 am Post subject: Backward compatibility of Salflib.dll |
|
|
ClearWin software that I have used for over a decade gives me a not-so-nice black screen when I use the latest version of Salflib.dll (dated 29/04/2019) even though it gives pretty patterns and graphs with previous versions � up to the most recent version I had until a few months ago (dated 14/03/2013). The software uses VGA colours. Has support for this been discontinued? If not, where can I find a list of limitations to backward compatibility? |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8011 Location: Salford, UK
|
Posted: Fri Jul 19, 2019 7:04 am Post subject: |
|
|
Yes the default colour mode was switched from "vga colours" to "rgb colours" a number of years ago. As far as I recall this is the only change of any significance. See the function USE_RGB_COLOURS@. |
|
Back to top |
|
|
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2393 Location: Yateley, Hants, UK
|
Posted: Fri Jul 19, 2019 8:52 am Post subject: |
|
|
As far as I am aware, it's the only function that changed that makes old code stop working the way it did since Clearwin+ was introduced, and frankly even then it was long overdue. The other changes increase the functionality or just work better.
There is a handful of Deleted features in the Fortran that you can find in the "What's new in Fortran 95" section of FTN95.CHM
You can of course revert to VGA colours by using the function that Paul mentioned.
Eddie |
|
Back to top |
|
|
AlanVardy
Joined: 17 Dec 2013 Posts: 16
|
Posted: Fri Jul 19, 2019 10:18 am Post subject: |
|
|
Grateful thanks to both of you. This tells me the way ahead. I accept that I was born on the Ark and that the world is entitled to move on. How nice to see your name again Paul. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8011 Location: Salford, UK
|
Posted: Sun Jul 21, 2019 7:44 am Post subject: |
|
|
John-Silver
I think that you have misunderstood the question. Old 32 bit code using %pl is expected to work as before when using the current salflibc,dll and simpleplot.dll.
simpleplot.dll has not changed at all and %pl[native] adds functionality without disturbing old code. |
|
Back to top |
|
|
AlanVardy
Joined: 17 Dec 2013 Posts: 16
|
Posted: Sun Jul 21, 2019 9:53 am Post subject: |
|
|
I appreciate the continued suggestions, but fully expect Paul's original advice to fix the problem. I have not yet followed his advice, but will do so soon. Assuming that all goes well, I shall report success and close the post.
You folks should be enjoying sunny Sunday - or visiting Sunny Scotland with that purpose in mind. |
|
Back to top |
|
|
AlanVardy
Joined: 17 Dec 2013 Posts: 16
|
Posted: Mon Jul 22, 2019 5:35 pm Post subject: |
|
|
I am pleased to report that HAL & MARVIN have cooperated. Paul's nice 'n easy fix has solved the problem. So far, I have simply set the default to VGA. The sensible step of converting to RGB has been added to the wish list.
For information, Paul: Whilst following up your suggestion, I have noticed that the help topic for SET_RGB_COLOURS_DEFAULT@ still states that the default is VGA. The topic for USE_RGB_COLOURS@ is spot on.
Thanks again to all. |
|
Back to top |
|
|
AlanVardy
Joined: 17 Dec 2013 Posts: 16
|
Posted: Sat Aug 03, 2019 11:55 am Post subject: |
|
|
I am pleased to report that RGB is behaving itself in my updated code - so it is time to close the post.
Thanks again to each of you. Really helpful for me.
Bye. |
|
Back to top |
|
|
|