9
Chapter 2
Development Environment and Procedures
CONTENTS
2.1 Overview of Development Environment ........................................................ 11
2.1.1 Required Hardware............................................................................ 11
2.1.2 Required Software.............................................................................. 12
2.2 Overview of Developing Procedures............................................................. 13
2.2.1 Developing Procedures...................................................................... 13
2.2.2 Functions of BHT-BASIC 3.5.............................................................. 14
2.3 Writing a Source Program ............................................................................. 15
2.3.1 Writing a Source Program by an Editor.............................................. 15
2.3.2 Rules for Writing a Source Program................................................... 15
2.4 Producing a User Program............................................................................ 17
2.4.1 Starting the BHT-BASIC 3.5 Compiler ............................................... 17
2.4.2 Outline of User Program or Library Production Procedure................. 18
[ 1 ] Building a user program out of a single source program file..... 18
[ 2 ] Building a library out of a single source file, or building a user
program or library out of multiple source files ........................... 18
2.4.3 Designating a Single Source File or a Project File............................. 19
2.4.3.1 Designating a single source file................................................. 19
[ 1 ] Select a source file.................................................................... 19
2.4.3.2 Designating a project file........................................................... 20
[ 1 ] Create a new project................................................................. 20
[ 2 ] Select an existing project file..................................................... 21
[ 3 ] Add files to a project file............................................................ 22
[ 4 ] Select files in the active project................................................. 23
2.4.4 Compiling and Building....................................................................... 25
[ 1 ] Specifying the compiling and linking options............................. 25
[ 2 ] Compiling.................................................................................. 26
[ 3 ] Building ..................................................................................... 26
2.4.5 Setting the Editor for Displaying Files ................................................ 27
2.4.6 Error Messages and Their Indication onto the Main Window............. 28
[ 1 ] Selecting either an editor or main window as an error message
output device............................................................................. 28
[ 2 ] How error messages are displayed on the editor or main
window...................................................................................... 29