
Chapter 3. Program Structure
51
3.2.3 Included Files
"Included files" are separate source programs which may be called by the
INCLUDE
meta-
command.
Upon encounter with the
INCLUDE
metacommand in a source program, the Compiler fetches
the designated included file and then compiles the main source program while integrating that
included file to generate a user program.
You should specify the name of an included file by using the
REM
$INCLUDE
or
’$INCLUDE
. In the included files, you can describe any of the statements and functions
except the
REM
$INCLUDE
and
’$INCLUDE
.
If a compilation error occurs in an included file, it will be merely indicated on the line where the
included file is called by the
INCLUDE
metacommand in the main source program, and neither
detailed information of syntax errors detected in the included files nor the cross reference list
will be outputted. It is, therefore, necessary to debug the individual included files carefully
beforehand.
Summary of Contents for BHT-BASIC 100 SERIES
Page 1: ......
Page 161: ...153 Chapter 10 Sleep Function CONTENTS 10 1 Sleep Function 154...
Page 163: ...155 Chapter 11 Resume Function CONTENTS 11 1 Resume Function 156...
Page 173: ...165 Chapter 13 Backlight Function CONTENTS 13 1 Backlight Function 166...
Page 249: ...241 Example CLOSE IF kyIn Y THEN KILL Master Dat END IF Reference Statements CLFILE...