HP Business BASIC/XL Reference Manual - HP 3000 MPE/iX Computer Systems - Edition 1 (32715-90001)
4- 22
* u or U: Underline
num_chars
A numeric expression, variable, or constant that
specifies the length of the display enhancement.
IFLD This function moves the cursor to the
field
output field
in a JOINFORM. The current input field number is set to
field
.
OFLD This function moves the cursor to the
field
output field
in a JOINFORM. The current output field number is set to
field
.
CFLD This function moves the cursor to the
field
input field
in a JOINFORM. The current input and output field
numbers are not modified when this function is executed.
A subsequent INPUT statement will position the cursor to
this field, but will read data beginning at the field
specified input pointer.
SETIFLD This function sets the current input field number to
field
. The cursor is not moved.
SETOFLD This function sets the current output field number to
field
. The cursor is not moved.
SETCFLD This function sets the current cursor field number to
field
. The cursor is not moved. The current input and
output field numbers are not modified. A subsequent
INPUT statement will position the cursor to
field
, but
will read data beginning at the input pointer.
field
A numeric expression, variable or constant that
evaluates to a numeric value that specifies the number
of a field on the JOINFORM.
Cursor Position on the Terminal Screen
For the purpose of CURSOR positioning, the first row in display memory is
row 1. The leftmost column in display memory is column 1. When
specifying the cursor position with the CURSOR statement in conjunction
with the row and column, at least one of row and column must be
specified. An error occurs when the value for a row or column is greater
than 999. If a row number greater than the number of lines in the
display memory is specified the cursor is positioned to the last row. If
a column number greater than 80 is specified one line is skipped.
Regardless of where the cursor is in display memory, it always remains
visible on the display screen. Therefore, the CURSOR statement can be
used to scroll or page through display memory.
The functions SETIFLD, SETOFLD, and SETCFLD set the internal field
pointer, but do not move the cursor. A subsequent INPUT or OUTPUT
statement positions the cursor to the current cursor field or output
field. This is more efficient than using IFLD, OFLD, or CFLD, because
those functions set the internal field pointer and position the cursor.
The cursor would then have been moved twice.
Screen Enhancements
A screen enhancement is set beginning at the current position of the
cursor for a length that is determined by
num_chars
. Legal enhancement
strings contain the characters h or H for "Half-bright", i or I for
"Inverse", b or B for "Blinking" or u or U for "Underline". The empty
string (" ") indicates that enhancements are to be turned off. The
enhancement string may contain any of the characters above and use a
blank (" "), comma (","), or semicolon (";") as a separator between
characters for visual clarity.
An enhancement string that contains only blanks, commas, or semicolons is
treated as an empty string that turns off enhancements. The legal values
for
num_chars
are -999..999. Depending on the value of
num_char
, one of
the following will occur: