Reply To: Howto remove line breaks or combine lines

Product Compare Forums General General Chat Howto remove line breaks or combine lines Reply To: Howto remove line breaks or combine lines

#5632
AndyColson
Participant

Here is a macro.

[code:2squm384]void fix()
{
int oldundo = undo_stat;

Undo_Stat = False;
refresh = 0;
tof;
while (! at_eof)
{
eol;
RM("Del");
down;

}
refresh = 1;
Undo_Stat = oldundo;
}
[/code:2squm384]

Paste it into a seperate file (like bob.s) and compile it. Then open up your text file that needs fixed and run macro “fix”

-Andy