Includes Functions

Syntax

IncludeFile  "Filename" 
XIncludeFile "Filename"

Description

IncludeFile will include any named source file, at the current place in the code. XIncludeFile is exactly the same except it avoids having to include the same file many times.

Example :

XInclude "Sources\myfile.pb" ; This will be inserted.
XInclude "Sources\myfile.pb" ; This will be ignored along with all subsequent calls.. 
 

Syntax

IncludeBinary "filename"

Description

IncludeBinary will include the named file at the current place in the code.

Example :

IncludeBinary "Data\map.data"

 

Syntax

IncludePath "path"

Description:

IncludePath will specify a default path for all files included after the call of this command. This can be very handy when you include many files which are in the same directory.

Example :

IncludePath  "Sources\Data"
IncludeFile  "Sprite.pb"
XIncludeFile "Music.pb"