HP Business BASIC/XL Reference Manual - HP 3000 MPE/iX Computer Systems - Edition 1 (32715-90001)

4- 70
that is, it must begin with FN, as in FNAdd. The actual
name to use for the call is returned from the definition
in the intrinsic file.
str_lit
The alias is the name, if different from the name to be
used in the HP Business BASIC/XL program, of the
intrinsic in the
fname
file. The string provided is
assumed to be the case-sensitive name of the intrinsic
file entry. The actual name to use for the call is
returned from the definition in the intrinsic file.
Examples
The following examples show the use of the INTRINSIC statement. Lines
10, 20, and 50 show the GLOBAL option. Lines 30, 40 and 80 specify file
names, and the rest use the operating system default. Lines 50, 60, and
70 specify the actual procedure or function name with the ALIAS keyword
when the actual name is different than the internal HP Business BASIC/XL
name.
10 GLOBAL INTRINSIC Findjcw !Entry searched for is:
15 !FINDJCW in SYSINTR.PUB.SYS
20 GLOBAL INTRINSIC Fmtcalendar,Command,Read_char
30 INTRINSIC ("FILE1.LAB") Findjcw,Fmtcalendar,Command
40 INTRINSIC ("FILE2.MKTG") Put_char;Put_block;Open_file
50 GLOBAL INTRINSIC FNFind ALIAS "Find"
60 INTRINSIC FNStore ALIAS "Store",FNRetrieve ALIAS "Retrieve"
70 INTRINSIC FNAdd ALIAS "Add";FNSub ALIAS "Subtract"
80 INTRINSIC ("File3") Print_file ALIAS "print_file_info"
LDISP
The LDISP statement provides an alternative form of output for the DISP
statement. Under normal circumstances, the LDISP statement clears the
current line before printing the output list. The screen line clears
from the cursor to the end of the line. Note that only one line clears
even if multiple lines prints. LDISP interacts differently with an
active JOINFORM. If the cursor is within the form, LDISP will move the
cursor to the first line after the form, clear the line and then print.
For more information about how LDISP interacts with JOINFORM, refer to
Appendix F.
Syntax
[,]
LDISP [
output_item_list
] [;]
Parameters
output_item_ list
[ , ]...
output_item
[ { [ , ]...}
output_item
]...]
output_item
One of the following:
num_expr
str_expr
array_name
(*) Array reference. See "Array
References in Display List" in
chapter 6.
{PAGE }
{{CTL} }
output_function
{{LIN} }
{{SPA} (
num_expr
)}
{{TAB} }
See "Output Functions in Display