RENEW

Syntax

── RENEW ──<sequence range list>───────────────────────────────────────┤

Explanation

The RENEW command allows portions of the work file to be renewed to the condition in which they existed the last time the work file was updated. The sequence ranges specified need not be in ascending order.

Example

GET X
#WORKFILE X: SEQ, 3 RECORDS, SAVED
LIST
2000 THE RAIN IN SPAIN STAYS MAINLY
4000 IN THE PLAIN.
6000 THE QUICK BROWN FOX JUMPED OVER THE LAZY DOG.
#
FIX 4000/IN/ON
#
8000 THE EARLY BIRD GETS THE WORM.
DELETE 6000
#
LIST
2000 THE RAIN IN SPAIN STAYS MAINLY
4000 ON THE PLAIN.
8000 THE EARLY BIRD GETS THE WORM.
#

RENEW 0-10000
#
LIST
2000 THE RAIN IN SPAIN STAYS MAINLY
4000 IN THE PLAIN.
6000 THE QUICK BROWN FOX JUMPED OVER THE LAZY DOG.#