Obey & CR
Frederick Bambrough (1372) 837 posts |
I added the extra line to PlingBoot.!Run to run harinezumi a while back, commenting out rather than replacing the original line to allow for an easy switch back. Trying to do so, I discovered the file wouldn’t re-save because it was open. Needed *close. Is it expected behaviour that an Obey file won’t close if there’s a comment at the end, even if followed by an empty line? |
Julie Stamp (8365) 474 posts |
Yes, that is what happens. If the end (CR) of your Run line is not the end of the file, it is anticipating further commands after the application quits. |
Alan Adams (2486) 1149 posts |
So it seems it is the blank line causing the problem. The last thing in the file needs to be |
Chris Hall (132) 3554 posts |
*close closes all files on the current filing system it is *shut that closes all files on all filing systems |
David J. Ruck (33) 1635 posts |
*dont it’s dangerous |
Steve Fryatt (216) 2105 posts |
Which if we’re talking about files inside |
Dave Higton (1515) 3526 posts |
Presumably it’s Obey & LF? |
Martin Avison (27) 1494 posts |
My StopClose0 module will stop attempts to close all files by *Shut, *Close and variants. See website |
Frederick Bambrough (1372) 837 posts |
It is the end of the file.
Yup. I wasn’t running anything else at the time. I tried CloseIt but the file was greyed & un-selectable. |
Steve Pampling (1551) 8170 posts |
In command terms a comment line IS an empty line and as others have stated the last line must be a command line. |
Frederick Bambrough (1372) 837 posts |
ok |