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.
CR is cntrlM and LF is cntrlJ but you can't search for these because they
*ARE* CR and LF not just descriptors.
My editor allows me to enter control characters for search and destroy if
I precede each of them with cntrlP which it does not display.
Then I input the "cntlrM" followed by cntrlP again then the "cntrlJ"
followed by more or [ENTER].
The editor (Sidekick) will have displayed my search string as ^M^J.
BTW, this is the original Wordstar method.
And since Borland copied it, all Borland stuff works the same.
- Clarence Verge
--
- Help stamp out FATWARE. As a start visit: http://home.arachne.cz/
--