FNUM [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation
HP Business BASIC/XL Reference Manual
FNUM
The FNUM function returns the MPE XL file number of a file. This is used
primarily when calling MPE XL file intrinsics.
Syntax
FNUM(fnum)
Parameters
fnum The file number that HP Business BASIC/XL uses to
identify the file. It is a numeric expression that
evaluates to a positive short integer. An optional #
can precede fnum.
Examples
100 MPE_num = FNUM(1) !MPE_num is the MPE file number of file 1.
120 REM !MPE_num can then be used to call intrinsics
MPE/iX 5.0 Documentation