HP Business BASIC/XL Reference Manual - HP 3000 MPE/iX Computer Systems - Edition 1 (32715-90001)
f: 4
Syntax
LDISP [
d_list
]
Parameters
[{,...} ]
d_list
[,]...
output_item_list
[{; }
output_item
]...
output_item
One of the following:
num_expr
str_expr
array_name(*)
Array reference. See "Array References
in the Output Item List" in chapter 6
for more information.
{PAGE }
{{CTL} }
output_function
{{LIN} }
{{SPA} (
num_expr
)}
{{TAB} }
See "Output Functions in the Display
List" in chapter 6 for more
information.
FOR_clause
(FOR
num_var
=
num_expr1
TO
num_expr2
[STEP
num_expr3
],
d_list
)
See "FOR Clause in Output Item List" in
chapter 6 for more information.
Examples
Assume that the following program statements are executed while a form is
active:
10 V$="Hi there."
20 DISP V$ !Prints in form field
30 LDISP V$ !Prints outside form
INPUT
When an INPUT statement is executed while a JOINFORM is active, the
cursor is placed in the current cursor field. You can input data until
RETURN is pressed. If no input elements are specified, only the cursor
field pointer is increased. Otherwise, the entered data is assigned to
the variables in the input item list. Following the assignment, the
cursor field pointer and the input field pointer are increased.
If the cursor field pointer already points to the last input field in the
form, it is reset to the first input field of the form. In contrast, the
input field pointer is not circularly reset to the first input field but
left undefined. Any further assignments from fields to variables result
in errors.
The cursor can be explicitly positioned within the currently active form
by using a previously executed CURSOR CFLD, CURSOR SETCFLD, CURSOR IFLD,
or CURSOR Setifld statement.
When an INPUT statement is executed and a JOINFORM is not active, INPUT
behaves normally.
Prompts in the INPUT and LINPUT statements are not printed when a
JOINFORM is active.