RESTORE Verb

Syntax

RESTORE lineref
RESTORE 0

Description

The RESTORE verb alters the order in which the DREAD statement accesses items listed in DATA statements. (Items in DATA statements are read sequentially from first to last.)

Parameter

Description

lineref

Program line number to set the data pointer to. The line referenced does not need to exist or be a DATA statement; PRO/5 advances to the next DATA item.

Using 0 sets the data pointer back to the start of the program and enables the program to reread or skip DATA items. PRO/5 automatically performs a RESTORE 0 during any BEGIN, END, or program load operation.

See the DREAD verb for additional information.

Examples

1000 RESTORE 6000

See Also

Verbs - Alphabetical Listing