Libraries in QuickBasic require QuickBasic 4.x or above. (earlier versions probably did libraries too).
These are the versions that include a compiler.
You can make a library of your own using basic, or
asm or a combination.
To make one in QB, simply write the code with
all the executible code in subs and / or functions.
you can have dim, common, etc in the main code part
but no executible code (that is like print "hello" for
example).
then from the run menu select make library, name it and
it will be created.
To use it, restart qb with the /L option.
QB /L libname
(where libname is the name of your library.)
you then have the routines available in your program.
you should declare them or you can make a bin file to include or copy into your program(s) that have the declares.
With the declares you won't have to use CALL procedure.
In QB4.5 the "quicklibrary" will be called libname.QLB
you will have a libname.LIB for compiling.
Scoring disabled. You must be logged in to score posts.