No announcement yet.

libraries in PB/DOS

  • Filter
  • Time
  • Show
Clear All
new posts

  • libraries in PB/DOS

    Hello everyone,

    I use PowerBasic for DOS, version 3.50 and I want to know if there's a way I can create & use libraries.

    I made the design of a database system, using simple files, and I made (using PB) the applications used for inserting data into database.

    This database is used by the 'main' application, also made in PB. What I need is a way to use same PB data types, functions, etc, etc in both applications as I need to modify from time to time the code in my PB programms.

    If this thing is possible, can I get some examples?

    Thanks alot,


  • #2
    See discussion of unit files (*.PBU) in the manual and/or help file for the use of common code, decided at compile time.

    See discussion of chain files (*.PBC) in the manual and/or help file if you need common code, decided at run time. (Hint: much more difficult than using units).

    Michael Mattias
    Tal Systems (retired)
    Port Washington WI USA
    [email protected]