Previous Topic: LIMIT CommandNext Topic: MARK Command


LOCATE Command

Use the LOCATE command to find and display a specific record or page in the data being browsed.

You can abbreviate the Locate command as LOC or L.

This table shows you how to use parameters with Locate:

Parameter

Result

Example

An absolute number

Displays a record

Command ===> L 450

Scrolls record 450 to the top of the screen

A relative (signed) number

Displays a record relative to current cursor position

Command ===> L +20

Displays the current record + 20

A previously
assigned label

Displays a label

Command ===> L .err

Displays the line labeled .ERR

Command ===> L 8 page

The command scrolls the first record on page 8 to the top of the screen.

If a record or page number is entered that is greater than the total number of records or pages, the last record of data is displayed.