Previous Topic: RFINDNext Topic: SAVE


RIGHT

Moves the current column position toward the record's last position when in character or multi-record formatted mode, and moves the current file position toward the end of the file when in single-record formatted mode.

Syntax:

   RIGHT     [number | MAX|PAGE|CSR|HALF|DATA]

Syntax Description:

number

Single-record format–Specifies the number of records to scroll down.

Multi-record and character format–Specifies the number of positions to scroll to the right.

Note: In multi-record format, the view scrolls so that fields remain whole. If the specified value would cause the view to scroll to a position in the middle of a field, that field will display in full in the view. The only time a field is split is if it is too long to fit on one screen.

Default:

MAX

Sets the column or record position to the end of the line or file.

PAGE

Scrolls one screen-width or record to the right.

CSR

Makes the column under the cursor the rightmost displayed column when the cursor is on a data line.

HALF

Scrolls half of the screen width to the right when in character or multi-record display modes. Scrolls one record right when in single-record formatted mode.

DATA

Scrolls one screen to the right so that the rightmost visible column becomes the leftmost column position.

Note: The RIGHT command functions in the same way as the NEXT command. The two commands are interchangeable.