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

5-23
32 17 51 55
99 43 53 131
Example 2.
10 DIM A(2,1),B(2,4),C(4,1)
.
.
.
80 MAT A = MUL(B,C)
If B is
9 8 7 6
1 2 3 4
and C is
1
2
3
4
then A is
78
42
Example 3.
10 DIM A(1,4),B(1,3),C(3,4)
.
.
.
110 MAT A = MUL(B,C)
If B is
6 9 2
and C is
1 2 8 5
7 1 3 7
6 4 2 9
then A is
81 29 79 111
NUM
The NUM function returns the ASCII code that corresponds to the first
character of a string. This is an integer in the range [0, 255].
Syntax
NUM(
S
$)
Parameters
S
$ A string expression whose first character will be
evaluated.
Examples
10 A = NUM("Angle") !A = 65
NUMBREAK
The NUMBREAK function is a Report Writer function that returns the number
of BREAK conditions satisfied for levels one through the given level.
Lower numbered breaks are counted because they automatically trigger a
break at the given level. If there is no active report, an error occurs.