When BREAK <task> doesnt
19-Nov-91 10:40:48
Sb: #16612-When BREAK <task> doesnt
Fm: Steve Tibbett 72627,1325
To: John Toebes/SYSOP 70007,3467
Something else that too many Amiga programs do, is create data files, but
if the user aborts during the creation, they leave incomplete files lying
around.
The most notable example is the SAS C compiler – if you interrupt the
compiler in the right place, it will leave bad object modules lying around.
Plenty of other programs do the same thing.
So, if you do check for a break, delete the file you're in the process of
writing.
(If everything supported the Ctrl-C break, then we could have a program
that would show running programs, even if they had no windows open, and ask
them to abort. Commodities lets you do this, but with a fair amount of
commodities overhead).
…Steve