Hello again,

Ascii 10 and 13... Thanks a lot, Ron

Maybe time to explain to the list:
CR = Carriage Return (The move a printer head makes to the left)
LF = Line Feed (The feeding of one line of paper)

Both these "characters" are used to define lines in a text file, and
integrated in the "hard return" which is the result of pressing the enter-
or return key in most editors. Also used as opposed to "soft return"
meaning a line end automatically inserted by a more sophisticated text
editor (like WordPerfect), which can be un- and rewrapped automatically
when text is inserted before the line end.

Editv won't search for either of these. They just can't be inserted in the
search dialog. A alt-13, however, can be inserted in the text and gives a
complete hard return (cr+lf), but how would I imagine a CR only (That would
cause a line to be overwritten; a phenomenon that can be observed when
downloading a textfile through a modem at readable speed, if the terminal
program used allows CR to be interpreted as CR+LF or not, telix does, for
example), or a single LF that would continue at the same column, one row
lower.

Anyway: Does anyone know of a free- or shareware editor that allows the
entering of either a hard return or ASCII 10/13 in a search dialog box (and
supports macros, too)?

Bart

>Hi Folks, L.D.,
>
>L.D. Best wrote:
>
>> CR & LF are two different ASCII commands.
>> I believe that CR is one of the "smiley faces" [002????] but I won't ...
>> wait, let me pull down DOS manual ...
>> Sorry.  I pulled an RTFM on two different DOS books I have here, and
>> neither one has the full chart with explanations of the control
>> characters. :<   It *can* be done somehow but someone else is gonna have
>> to find it.
>
>   LF is ASCII #10
>
>   CR is ASCII #13
>
>  I have a chart of the complete set from #0 to #255. I use this chart
>with PBPLUS programming language and compiler for DOS. 
>FWIW: This is easier for the "untrained" programmer than any flavour of
>BASIC for making .EXE files.
>
>
>Regards,
>        Ron
>

Reply via email to