|
Post by George on Feb 21, 2021 10:44:40 GMT -5
Don't know about 21043, I don't keep the test versions. I just tried it with 21051, the latest, and it all seems to work fine. It properly saved X'd lines, NOTEs and hi-light colors. Here's that version, just in case. George SPFLite23.exe (483.5 KB)
|
|
|
Post by George on Feb 21, 2021 11:45:58 GMT -5
No ideas here. Tried again. Whether I issue SAVE or not, whether I exit via END or =X or the [X] button, the STATE data is updated and saved.
Send me your CFG, I have nothing else to look at.
George
===> OK, I will email the CFG, also I checked and the profile says AUTOSAVE ON NOPROMPT, so it *should* have worked.
|
|
|
Post by George on Feb 21, 2021 12:27:12 GMT -5
Hi, Well, it WAS AUTOSAVE ON NOPROMPT. Turns out there is a path through END with that setting where, if the file is not modified, then STATE saving is skipped. Try out 21052 George SPFLite23.exe (483.5 KB)
|
|
|
Post by George on Feb 21, 2021 12:52:54 GMT -5
Adding that saving of STATE when the file itself was not being written was awkward as there was no single place to do it, it had to be added to all kinds of branches in the logic path.
George
|
|
|
Post by George on Feb 22, 2021 10:30:22 GMT -5
Robert: Talk about obscure, combination of event type problems. Original cause? Well, remember way back when we thought "Why can't we use X/NX U/NU operands on CREATE and REPLACE?". It's trivial after all, why not! We should have said NO. Adding filtering to the file write routine of course means adding it to the StateSave routine (or the Hash won't be correct). Next we thoughtfully added StateSave'ing to just a normal non-save type END. We really are our own worst enemies as we've created a ridiculously complicated scenario. And this problem of yours was even more complex because your last commands were X/NX style commands, and that leaves search values around that get interpreted by StateSave (who's trying to handle filtering) and doesn't realize this is all driven by termination. Meaning parsing values never get fully reset as per normal commands. I think we just have to stop trying to add all these 'small' convenience tweaks 'cus most now seem to be turning into major headaches. Maybe it is time to truly retire, I seem to be spending a ridiculous amount of time daily just trying to stomp out stupid bugs like this. I think after the next File Manager revision release I'm done with any 'enhancements'. I'm pushing 80, it really is time to stop. Here's a (hopefully) fixed version for you. (21053) George SPFLite23.exe (483.5 KB)
|
|
|
Post by George on Feb 22, 2021 12:33:44 GMT -5
Robert: I wasn't aware of the 'left over' effect either. I was deep in tracing and couldn't see why this one compound IF was 'mis-behaving'.
And it was hard to add a display since it had 3 embedded macros of the 'IsXxxxxx' style within it, and it's tricky to display, you have to go back to the macro definition to get the original raw code to use. Macros are handy, but sometimes they do get in the way.
But yes, I still think a retirement is in order. Lots of things are telling me so. Arthritis is taking it's toll on my hands and typing is becoming more and more error-prone. And my peripheral neuropathy continues to get worse, I'm quite literally a 'teetery old man' as my balance is mostly shot.
Let alone the "why did I come into this room" problems. There's nothing dramatic, just lots of little things that eventually add up.
Old age sucks!
George
|
|
|
Post by George on Feb 22, 2021 14:17:32 GMT -5
Yuck yuck!
|
|
|
Post by George on Feb 23, 2021 10:25:25 GMT -5
Yeah, I remember. Maybe I was having a bad day yesterday. Trouble is, there's too many of those days lately.
George
|
|
|
Post by George on Feb 23, 2021 12:34:26 GMT -5
Never fear. As you said, I love doing this stuff too much. It's just some days ... well, you know how it is. And lately, with COVID, we can't get out as much.
At least last week they opened things up a wee bit here, and we can now at least get out for a restaurant meal. Had one last week, first one since before Xmas.
And although we've cancelled any vacations this year (as well as last) we're shooting at 2022 and are trying to get a couple cruises in before I turn 80, and travel insurance rates really shoot up. Now I just have to stay healthy and mobile until then.
George
|
|
|
Post by George on Feb 23, 2021 16:32:33 GMT -5
Robert: Yellow card vs Green Card? Heck, I don't need no steenking cards, I have a genuine FE Handbook, 4th edition, dated 1971. Makes the cards look brain dead. For System Programmers, these were the bible, green cards on super steroids. I couldn't picture doing most of my Assembler programming without this sitting right by the keyboard. Nya, Nya.! George Best I could find: www.bitsavers.org/pdf/ibm/360/fe/Y22-2851-0_360_FE_Handbook_General_Section_Aug68.pdf
|
|
|
Post by George on Feb 24, 2021 10:41:58 GMT -5
Right, the effort in writing and printing those things was enormous, what with the large fold-out pages to hold complex diagrams. Note in my picture I added stick on external tabs down the side to quickly get to the commonly referenced sections.
Museum pieces. I noticed a few years ago some were going on eBay for quite large prices, regardless of condition.
George
|
|