How to make a library file is not so easy.
1st: compile file with bc.exe
2nd: run LINK
at OBJECT /QU plus object file minus extension
at run should say qlb full path with qlb extension
nul press enter
at library full path with BQLB45.LIB
3rd: run LIB
Library name full path with filename.LIB
operations use +filename no extension
list file press enter
This will give you the QLB library file. Make sure your .BAS file only has SUBS and FUNCTIONS maybe a variable initializer maybe type end type.
USE .BI for your INCLUDE and DECLARE your SUB or FUNCTION in LIBRARY QLB with the same parameters.