Page 1 of 1

QBasic libraries

Posted: Sun Jul 24, 2005 4:35 am
by Valerie
QBasic 4.5 libraries bundled with QB.

Is there a way of listing the contents of each library then finding out what calls each item.

e.g. I know that B$PESD is called to print a string and B$OPEN is called to open a file, is there a listing anywhere which indicates what library they are in and what they, and others, do please :?:

Thanks
________
SHIP SALE

Posted: Sun Jul 24, 2005 7:46 am
by MystikShadows
HI Valerie, and welcome aboard.

To answer your quesion, you can go here:
http://www.ojodepez-fanzine.net/network/qbdl/

go to the QBasic 1.1 set of downloads and you'll see one there for the source code to QBasic one. QB 4.5 uses the same runtime so by looking into those files you'll definitaly find what B$COMMAND goes where :-).

Hope this helps

Posted: Sun Jul 24, 2005 1:36 pm
by Antoni
Use lib
[lib]
lib brun45.lib,brun45.txt,
[/lib]
It will print to brun45.txt the list of subs/functions of brun45.lib with the module they are in. Unforunately it will not tell you anything about the list of parameters.

QB libraries

Posted: Tue Jul 26, 2005 3:36 am
by Valerie
Thanks Antoni but am a bit confused. How do I use lib please?
________
Expert Insurance

Posted: Tue Jul 26, 2005 6:15 am
by Antoni
open a dos box
cd to the qb folder
key in

Code: Select all

lib brun45.lib,brun45.txt, 
close the dos box
browse qb folder and you will find a file brun45.txt you can read with notepad

Libraries

Posted: Tue Jul 26, 2005 5:16 pm
by Valerie
Thanks Antoni.

A rare flash of brilliance struck me at 3.30 a.m. and I managed to hit pay dirt without first reading your last posting.

Many thanks for your help

V...
________
Dodge Phoenix (Australia) specifications