F - Flip
Toggles the Editor buffers.
Syntax
F
Operation
F updates the Editor's working copy of the item, renumbers its lines, and
sets the line pointer to the top of the item.
Multiple String Replacements on a Single Line
You can perform multiple string replacements on a line without issuing an F
command. For example,
003 CAT
.R/CAT/DOG
Return
003 DOG
.R/DOG/RAT
Return
003 RAT
.
You can modify the last line of an I(nput) or
ME(rge) sequence in the same way as many times as
is necessary.
Example
: ED MD TEST1 Top .P 001 The ABC Computer Company 002 XYZ Corporation 003 123 Main Street 004 P.O. Box 19501 005 Anytown, California 006 (714) 555-1234 EOI 006 .4 004 P.O. Box 19501 .R/19501/23951/ 004 P.O. Box 23951 .1 001 The ABC Computer Company .R/Company/Co. Sequence? .F Top .P 001 The ABC Computer Company 002 XYZ Corporation 003 123 Main Street 004 P.O. Box 23951 005 Anytown, California 006 (714) 555-1234 EOI 006 .1 001 The ABC Computer Company .R/Company/Co. 001 The ABC Computer Co. .F Top .P 001 The ABC Computer Co. 002 XYZ Corporation 003 123 Main Street 004 P.O. Box 23951 005 Anytown, California 006 (714) 555-1234 EOI 006 .
|
Contents of item TEST1 in the MD file.
Go to line 4.
Change the P.O. Box number.
Go to line 1.
Attempt to make an edit. Because you tried to edit out of line sequence order without issuing an F command, you get a Sequence? message.
After you flip the buffers by issuing an F command you can go to line 1
and do your edit.
Final contents of item TEST1 after all the edits have been made.
|