CRSCOL (cc) Explicit Cursor Column CRSLIN (ll) Explicit Cursor Line CURSOR (ll,cc/fld *HERE) Posn.Crsor
These actions allow you to position
the cursor directly at a specified co-ordinate on the screen. You may specify
just the line (CRSLIN) or the column (CRSCOL) alone or the full co-ordinate
(CURSOR).
If you specify CRSLIN (@@@LIN) or CRSCOL (@@@COL), then the cursor will be positioned
at line number or column number respectively where it was when ENTER was last
pressed.
If CURSOR 0,0 is specified then explicit cursor positioning will be overridden
and the cursor will be positioned at the first position cursor attribute, or
at the first field if none is specified.
You may also position the cursor at the start of a specific field by qualifying
the CURSOR ( NOT CRSLIN nor CRSCOL) action with *HERE as shown in the example.
If this variation is used in subfile program logic, then Genesis V will calculate
the displacement from the top of the subfile page of this record to arrive at
a line number.
Note however that you must ensure that this subfile record will be on the page
displayed at the next screen output operation. You can do this by loading the
Subfile Start field (STRs0f, where "s" is the screen number and "f"
is the subfile number) with the current subfile relative record number (SRNs0f).
The variations are NOT interchangeable. Examples are given below:
