NotaBene Mailing List 2003

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: the 'apt' (APpend to Top of file) command



Jules and Herb

When I append the file in the current window to a file on disk with

F9 append [fileB] F10

I continually receive an error message telling me that I have an
invalid handle (which means what?).

Dunno. But I, too, find that the append command works just fine. I get the invalid handle message, but then a reassuring 'Done'.

One useful difference between 'append fileA,fileB' and 'append fileB', when fileA is on screen, is that the former appends the file *as last saved*, whereas the latter appends it (*or* any currently defined text) as it is on screen, including any additions made since the last save.

I often use this when going through a long text file from which I want to leave intact, but from which I want to append individual sentences or parts of paragraphs to other files, each sentence/part para as a new paragraph in the target file. I turn off autosave in the on-screen file, and add CRs to either end of the defined text to be appended to the target file, do 'append fileB', then scroll on through the file, defining, adding CRs and appending, ad lib. Then I abandon the file without saving it. This saves all the trouble of removing the CRs from the parent file as I go along.

Mary

Mary Bernard
mary_bernard


Main Index | Thread Index