Using KSAM/XL and KSAM 64 (32650-90886)

Appendix B 237
BASIC/V Intrinsics
BKERROR
In another example, BKERROR is called to retrieve the message corresponding to the MPE
file system error code returned when the first character of status is 9.
10 DIM S$(4),M$(72)
.
.
.
50 IF S$(1;1)="9" THEN DO
60 CALL BKERROR(S$,M$)
70 PRINT"FILE ERROR";S$(2);"MEANS";M$
80 DOEND
Suppose the value returned in
status
is 9172. The routine above prints the following
message when the program is run:
FILE ERROR 172 MEANS KEY NOT FOUND; NO SUCH KEY VALUE