Chapter 3. Program Structure
51
3.2.3 Included Files
"Included files" are separate source programs which may be called by the INCLUDE
metacommand.
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.
Comentarios a estos manuales