Michael Berger writes:

> > Simply enter 1 REM ...and your text...
> > then SAVE file (enter "NEW" first to be sure there is no programm
loaded)
>
> that is a result-oriented practical proposal, thanks! Probably will make
use
> of it - because some of those programs are not self-explaining and then it
> is good to have the notes close to them for a possible "10 years later"
> session.
> On the other hand i still wonder if something like the elegant pipelining
of
> the "copy con readme.txt" (that MSDOS admittedly had stolen from unix)
also
> can be done with input echo on under QDOS.

Dont quite understand the problem. Why not just use a text editor? There are
plenty of free ones around, including QED, by Jan Bredenbek and EDI by
Jo/Al, both tiny and simple to use. The latter is a S*Basic procedure
invoked via the command EDI.

If you have QPAC1 there is also the CPY filter which can be used thus:

    EX#3, 'ram1_CPY', 'ram1_test_txt'

    PRINT#3; 'Type and edit text here'

    CLOSE#3: REMark Quit

or try this very simple "editor" here:

    c = FOP_OVER("ram1_test_txt"): REPeat : k$ = INKEY$(-1): PRINT#c; k$;:
PRINT#1; k$;

Per

_______________________________________________
QL-Users Mailing List
http://www.quanta.org.uk/mailing.htm

Reply via email to