ZO - Replace tabs with blanks (zap out tabs).

Syntax:

ZO

Description:

ZO is the opposite of ZI: ZO replaces tab characters with an appropriate number of blanks, according to the current tab stops set by O+T.

If you do not specify an address, ZO zaps tabs out of the current line. If you specify one address, ZO zaps tabs out of that line. If you specify two addresses, ZO zaps tabs out of all the lines between and including the given lines. In this case, the first address must precede the second in the buffer.

If ZO does not replace any tabs, an error is issued unless the ZO was executed out of a buffer. ZO sets the condition register FALSE if no tabs were replaced, and TRUE otherwise. ZO sets "." to the last line where tabs were replaced. If no tabs were replaced in any line, "." is not changed.

Copyright © 1998, Thinkage Ltd.