home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PROG_BAS
/
DNALIB59.ZIP
/
LIBMAN.DOC
< prev
next >
Wrap
Text File
|
1994-02-15
|
6KB
|
143 lines
┌─────────────────────────────────────────────────────────────────────┐
│ │░░
│ │░░
│ DNALIB Library Manager for PowerBASIC 3c │░░
│ │░░
│ Copyright 1994 FreeBee SoftWare │░░
│ │░░
│ Chris Foot │░░
│ │░░
└─────────────────────────────────────────────────────────────────────┘░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
LIBMAN is totally free of charge for you to use or abuse, as you
see fit. The source code will be released with DNALIB60 along with the
additional routines I wrote for LIBMAN, you may contact me by
1) leaveing me a message on BASNET(PowerBASIC) echo.
2) leaveing me a message at PowerBASIC tech support BBS.
3) or you can send me a FAX (403)452-5969
Chris
The first thing to do is make a working directory for LIBMAN, and copy
the files LIBMAN.EXE and LIBMAN.CFG to the directory.
Then with a Text Editor edit the file LIBMAN.CFG
C:\PB3\ < directory where PBLIB.EXE resides
C:\PB3\PBU\ < where you keep your PBU modules
C:\PB3\OBJ\ < where you keep your OBJ modules
C:\PB3\PBL\ < where you keep your PBL libraries
No comments are allowed in the file and each line MUST
end with a backslash and carraige return!
Your Directory Tree should look something like this
C:┐
├PB3┐
├BAS
├LIBMAN < where LIBMAN.EXE & LIBMAN.CFG go
├OBJ
├PBL
├PBU
└OTHER
I have done extensive testing of LIBMAN and this is what I
found.
1) Run LIBMAN from DOSSHELL = NO PROBLEM.
2) Run DNAWRITE from DOSSHELL then shell from DNAWRITE and run
LIBMAN = NO PROBLEM.
3) Run PB IDE from DOSSHELL then shell from PB IDE and run
LIBMAN = works but does strange things.
4) Run PB IDE and load LIBMAN.BAS compile and run LIBMAN from
PB IDE = works but does strange things.
5) I strongly recommend running LIBMAN from the Command Prompt
and from it's own directory!!
I have built, deleted, added, printed, extracted, transfered,
etc at least 100 PBL's with consistent results. I have also
found a problem with PBLIB :(
If a PBU or OBJ is deleted and then for instance you modify
your code and make a new unit or object using the same name,
and then add it to your PowerBASIC library, take a look at
the map file or [B]rowse from LIBMAN and you will find you
got the old one back as well as the new one :( This is also
the reason for the [K]ill and [E]rase options, it is easier
to E[x]tract all the modules to LIBMANs directory [K]ill the
old PBL and rebuild a new library of the same name, then
[E]rase LIBMANs directory so you dont get all tangled up :)
MENU OPTIONS ACTIONS
~~~~~~~~~~~~ ~~~~~~~
[O]pen Opens a PowerBASIC library file and
redirects output to LIBINFO.TXT then
reads all OBJ and PBU modules to an
Array.
[C]reate Displays an Edit window for inputting
a Name for New library.
[L]ist Displays a list of OBJ and PBU modules
in Map file order, for the currently
selected PowerBASIC library.
[B]rowse Displays the PBLIB generated file
LIBINFO.TXT in scrolling window.
[A]dd Displays a choice of module locations
1) LIBMANs directory where extracted
modules will be found.
2) OBJ directory, defined in LIBMAN.CFG
3) PBU directory, defined in LIBMAN.CFG
4) Selectable directory.
If a choice is made, a Taggable file
list is displayed (files have to be
tagged for addition). LIBMAN then builds
a COMMAND.FIL from your choices and
SHELLs to PBLIB to do the work.
[D]elete A taggable file list is displayed, of
the modules listed in the map file,
(files have to be tagged for addition).
LIBMAN then builds a COMMAND.FIL from
your choices and SHELLs to PBLIB to
do the work.
E[x]tract A taggable file list is displayed, of
the modules listed in the map file,
(files have to be tagged for addition).
LIBMAN then builds a COMMAND.FIL from
your choices and SHELLs to PBLIB to
do the work.
[P]rint Sends the contents of LIBINFO.TXT to
the printer.
[K]ill Displays a listing of up to 100 PBL's
for selection for deletion from DISK!
[E]rase Deletes ALL OBJ and PBU modules from
LIBMANs directory, confirmation is
asked first though :)
[Q]uit Quits Library Manager and cleans up
working directory, deletes ALL OBJ
and PBU modules from LIBMANs directory,
confirmation is asked first though :)