CURSOR COLUMN


This field contains the number of the column (horizontal position) where the cursor currently sits. It can be used to change the location of the cursor if used along with CURSOR ROW and the POSITION statement as shown in the following example.

          SET      --- CURSOR COLUMN              =      25
          SET      --- CURSOR ROW                 =      5
          POSITION                                (AT APPEARANCE #    )

This example positions the cursor at row 5, column 25. The positioning is absolute; that is, if the current image begins at row 15 and column 1, the cursor will be outside the current image after this example is executed.

The POSITION statement can also be used to set the value of this field as shown below:

          POSITION TAP VENDOR NAME                (AT APPEARANCE #    )

This example positions the cursor at the input item called VENDOR NAME and sets the value of CURSOR COLUMN (and CURSOR ROW) accordingly.

Default Value: Wherever the cursor is.

Related PDFs: CURSOR ROW