Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

- - Move data window backwards

&pagelevel(3)&pagelevel

The - statement moves backwards in the work file (toward the start of the file). The position can be moved backwards by a given number of characters or to a record with a specified record mark.

Operation

Operands

F mode

– [DUE]


– [F3]


–  

{n | ( [m [,...]] )}

If the statement is sent without operands by means of the [DUE] key or a function key other than [F3] then the position moves backwards by the number of records visible in the data window. Any column counters or lines hidden by messages, for example, are taken into account.

If the statement is sent without operands by means of [F3] then the position moves backwards to the next record having any record mark (1..9). The statement -[F3] is therefore equivalent to -() [DUE] (see below).

n

Number of lines to be scrolled through backwards. Values between 0 and
99999999 are permitted for n. However, backwards scrolling stops when
the first record in the work file is visible in the first screen line.

The value of n determines the number of records by which the data window
can be moved backwards independently of the currently set increment in
the line number display or gaps in the record numbering.

m

Is one of the possible record marks (1..9) to which the position may be
moved. It is possible to specify multiple record marks which must be
separated by commas. The position moves backwards to the next record
with one of the specified record marks - this is displayed in the first screen
line of the data window. Marks with special functions (see section “Recordmarks” (Record marks )) are ignored here.

If m is not specified then the position moves to the next record having any
record mark (1..9).

Note

If the statement is sent with [F3] then it is important to make sure that only statement codes that can be sent with [F3] are specified simultaneously (see section on statement codes). Otherwise, the operation is aborted during the analysis of the statement codes and the - statement is not executed.

Example

The increment 0.1 is set in the data window.

Backwards scrolling is to be performed using -3.

The position moves backwards 3 records (to line 9.70).