|
forums.silverfrost.com Welcome to the Silverfrost forums
|
View previous topic :: View next topic |
Author |
Message |
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2393 Location: Yateley, Hants, UK
|
Posted: Thu Sep 16, 2021 6:41 pm Post subject: |
|
|
Steve,
I have been doing other things! (And I put %lv aside assuming that it was hopelessly broken!).
I would appreciate anyone giving it a try. I left out the mechanism for filling ROWS with initial data and recovering it at the end. Also, it is my testbed for Paul's new %bn format code (latest Salflibc.dll).
Eddie |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8036 Location: Salford, UK
|
Posted: Sat Sep 18, 2021 7:36 am Post subject: |
|
|
Eddie
I have tested your code which looks very impressive.
A minor detail: when I use the arrow keys to navigate from one cell to another, I get a runtime exception.
But on second thoughts, I tested again using 32 bits and it works. So maybe this is something that I need to look at. |
|
Back to top |
|
|
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2393 Location: Yateley, Hants, UK
|
Posted: Sat Sep 18, 2021 8:51 am Post subject: |
|
|
Hi Paul,
Sorry it is a bit pedestrian.
What I forgot to add in my haste to post (not waiting yet another year!) are two things. Firstly, when to extract the numerical results, and secondly what happens if there are more ROWS than are displayed.
In the former case, it is possible to extract the results as they are input, but that does prejudice a Cancel button operation. The alternative is to parse the ROWS after an Accept action button press, which is slightly harder (but not much).
The other thing is that %lv seems to handle scrolling perfectly when I set ROWS to 26.
Oops, I didn't test it in 64-bit.
Eddie |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8036 Location: Salford, UK
|
Posted: Mon Oct 18, 2021 3:53 pm Post subject: |
|
|
Eddie
For a 64 bit executable the program fails at line 84 in your code.
A possible fix is to change this line to...
Code: | READ (CBE,*, IOSTAT= istat) VALUE |
in order to avoid the exit on end-of-file. |
|
Back to top |
|
|
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2393 Location: Yateley, Hants, UK
|
Posted: Mon Oct 18, 2021 8:29 pm Post subject: |
|
|
Perhaps it's a good job that I don't use the 64-bit compiler, because I would have been nonplussed by the error, and wouldn't have had a clue that this was the answer!
Eddie |
|
Back to top |
|
|
|
|
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
|