Previous Topic: CAPS CommandNext Topic: COPY Command


CHANGE Command

       ┌/       \┐ ┌/        \┐ ┌/                    \┐┌/      \┐
CHANGE │< ALL   >│ │< string >│ │< replacement-string >││[lb[rb]]│< X  >│
       └\ FIRST /┘ └\ *      /┘ └\ *                  /┘└\ NX   /┘

where:

string-specifies the string of characters to find and replace by replacement-string.

replacement-string-specifies the string of characters used to replace string.

* (asterisk)-specifies the string value from the last FIND or CHANGE command entered.

ALL-specifies that all occurrences of a string are to be replaced in scanned lines.

lb rb-specifies left and right bounds (column positions) for the find. If specifying just the left bound, the string can be found anywhere within those bounds.

X-specifies only excluded lines are to be scanned.

NX-specifies only non-excluded lines are to be scanned.

Use the CHANGE command to search for and change the next occurrence of a string in the module. The Editor begins searching at the position of the cursor when you enter the command, and it searches downward until the string is found. If the cursor is on the COMMAND line when you enter the command, the editor begins searching at the top line displayed. If the string is not found, it is changed to the replacement string.

This command is available in Edit Mode.

Change Command Rules