Warning

You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
include [2019/05/06 08:59] – created neilsinclude [2020/02/12 13:36] (current) neils
Line 1: Line 1:
-====== INCLUDE directive ======+====== INCLUDE ======
  
 Syntax: Syntax:
  
-  include "filename" +  include "filename.bas
-  include "path/to/filename"+  include "path/to/filename.bas"
      
 The ''INCLUDE'' directive instructs the compiler to fetch the contents of another source file and include it in the current source. Nested includes are supported. The ''INCLUDE'' directive instructs the compiler to fetch the contents of another source file and include it in the current source. Nested includes are supported.
  
 Note: the path must be a relative path to the current source file. Note: the path must be a relative path to the current source file.