#INCLUDE “filename.basinc”


Include code from a separately saved file within this program.

Filename must be enclosed within double quotation marks. Multiple include files may be nested if required.

Relative or absolute filenames may be used.

For absolute filenames (e.g. "c:\path\test.basinc") only the given path is checked for the given filename.

For relative filenames (e.g. "test.basinc") the first path checked is the path for the main program file. If the file is not found at this path then each path in the Windows %paths% environment variable is then checked.

Files must be saved in ASCII or UTF8 format.

Applies To:
See Also:
    Related Create:

      Include a file

      Include the file C:\test.basinc within another file.

      Code Example:
      #include “c:\test.basinc”
      Copy Code Submit an Example

      Submit Your Own Code!

      You must be logged in to submit code examples. Login now.