Skip to content

Include

Narta Xaymar Dirks edited this page Oct 27, 2026 · 2 revisions

Blitz3DBlitzPlusBlitzBasic

Include

Include "file.bb"

Description

Reads another source file as if its text were written here. Backslashes and forward slashes both work in the path, and the case of the names does not matter. A relative path is looked up next to the file that has the Include, and then next to the main program. The included file may include files itself. A file that was included before is skipped, so including it twice is harmless.

Differences

  • The original opens a relative path from the folder the compiler runs in; BlitzLLVM starts at the file that includes it.

Related Commands

End, Global, Local, Stop

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally