Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

@SCALE - Output column counter

&pagelevel(3)&pagelevel

The @SCALE statement activates or deactivates the display of a column counter (horizontal ruler) for the current work file in the work window (see also section “The work window”).

Operation

Operands

F mode

@SCALE

[ { ON | OFF } ]

ON

Activates the display of the column counter (default value).

The column counter is displayed as the first line after an information line, if
one is present and displays the current column numbers for the work file
(e.g. after the work window has been moved horizontally).

If a tabulator has been defined (see @TABS statement), an additional
screen line is displayed in which the current position of the tabulator is
displayed with 'I'. In this line, the tabulator character itself is depicted in
the statement code column.

OFF

Deactivates the display of the column counter and any displayed tabulator
positions.

When an EDT session starts, the column counter display is deactivated for all the work files.

The activation and deactivation of the column counter display applies at work file level. If the work file is simultaneously displayed in multiple data windows on the screen then the statement therefore applies in both data windows.

If the data window is too small to display at least one data line in addition to the column counter and any displayed information line or tabulator line then some of the displays are hidden. The data window must then be enlarged appropriately. The hidden displays are then shown again in the sequence: information line, column counter, tabulator display.

In EDIT-LONG mode (see the @EDIT statement), the column counter is not output. In HEX mode, the @SCALE statement has no effect. However, in both cases, the setting becomes effective if the corresponding mode is exited.

The @PAR SCALE statement can be used instead of @SCALE and has the same functionality. Furthermore, @PAR SCALE can be used for a specific work file or globally for all the work files and is also permitted in L mode and therefore in EDT procedures.

Example

A column counter is requested in order to check the column numbers.