QBasic libraries

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
Valerie
Newbie
Posts: 8
Joined: Sun Jul 24, 2005 4:23 am

QBasic libraries

Post 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
Last edited by Valerie on Sun Mar 13, 2011 5:57 pm, edited 1 time in total.
MystikShadows
Veteran
Posts: 703
Joined: Sun Nov 14, 2004 7:36 am
Contact:

Post 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
When God created light, so too was born, the first Shadow!

MystikShadows

Need hosting? http://www.jc-hosting.net

Interested in Text & ASCII development? Look no further!
http://www.ascii-world.com
Antoni
Veteran
Posts: 132
Joined: Wed Jun 15, 2005 3:01 pm
Contact:

Post 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.
Valerie
Newbie
Posts: 8
Joined: Sun Jul 24, 2005 4:23 am

QB libraries

Post by Valerie »

Thanks Antoni but am a bit confused. How do I use lib please?
________
Expert Insurance
Last edited by Valerie on Sun Mar 13, 2011 5:57 pm, edited 1 time in total.
Antoni
Veteran
Posts: 132
Joined: Wed Jun 15, 2005 3:01 pm
Contact:

Post 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
Valerie
Newbie
Posts: 8
Joined: Sun Jul 24, 2005 4:23 am

Libraries

Post 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
Post Reply