THE

SET CURLINE - set position of current line on screen

Syntax:
[SET] CURLine M[+n|-n] | [+|-]n

Description:
The SET CURLINE command sets the position of the current line to the physical screen line specified by supplied arguments.

The first form of parameters is:

M[+n|-n]
this sets the current line to be relative to the middle of
the screen. A positive value adds to the middle line number,
a negative subtracts from it.
eg. M+3 on a 24 line screen will be line 15
M-5 on a 24 line screen will be line 7

The second form of parameters is:

[+|-]n
this sets the current line to be relative to the top of the
screen (if positive or no sign) or relative to the bottom
of the screen if negative.
eg. +3 or 3 will set current line to line 3
-3 on a 24 line screen will be line 21

If the resulting line is outside the bounds of the screen the position of the current line will become the middle line on the screen.

It is an error to try to position the CURLINE on the same line as a line already allocated by one of SET HEXSHOW , SET RESERVED , SET SCALE or SET TABLINE .

Compatibility:
XEDIT: Compatible.
KEDIT: Compatible.

Default:
M

Status:
Complete.


The Hessling Editor is Copyright © Mark Hessling, 1990-2002 <M.Hessling@qut.edu.au>
Generated on: 15 Aug 2002

Return to Table of Contents