Specifications
18
2.4.2 Outline of User Program or Library Production
Procedure
Unlike the BHT-BASIC 3.0 Compiler that converts a single source program into a user program
(file named XXX.PD3), the BHT-BASIC 3.5 Compiler converts source programs into object pro-
grams (files named XXX.OBJ) and then links those object programs to produce a user program
(XXX.PD3). A sequence of the compiling and linking processes is called "Build."
The BHT-BASIC 3.5 Compiler can also build a library (XXX.LIB). You may select whether you
build a user program or library on the Project Configuration Files dialog box.
You may build a user program or library out of either multiple files or a single file (as in the
BHT-BASIC 3.0 Compiler).
Note that to build a library out of a single source file, you need to create a project file for a sin-
gle source file.
[ 1 ] Building a user program out of a single source program file
What follows is a general procedure for building a user program out of a single source program
file.
(1) Designate a file that you want to use. (For details, refer to Subsection 2.4.3.1, "Designat-
ing a single source file.")
(2) Build a user program out of the designated file. (For details, refer to Subsection 2.4.4,
[ 3 ], "Building.")
[ 2 ] Building a library out of a single source file, or building a user program or
library out of multiple source files
What follows is a general procedure for building a library out of a single source file or for build-
ing a user program or library out of multiple source files.
(1) Designate a project that you want to use. (For details, refer to Subsection 2.4.3.2, "Desig-
nating a project file.")
(2) Build a user program or library out of the designated project. (For details, refer to Subsec-
tion 2.4.4, [ 3 ], "Building.")