Differences

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

Link to this comparison view

Both sides previous revision Previous revision
include [2019/05/06 11:25]
neils
include [2020/02/12 14:36]
neils
Line 3: Line 3:
 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.