Category: IGI (in-game GUI) — Code editor
Syntax:
igiLoadLanguage:Int(path:String)
A language handle for igiCodeEditorSetLanguage (0 if the file can't be read on desktop).
Loads a language for the code editor from a .lang file. On the web the file is fetched in the background, and editors using the handle are coloured when it arrives. BambooBasic, C++, Lua, WGSL and HLSL come ready-made in userlibs\languages - copy the one you want next to your program.
This can be called any time, in Main or in the loop. The .lang file format is on its own page. See the IGI guide.
Global basic:Int = igiLoadLanguage("Media/bamboobasic.lang")
BambooBasic © 2026 Michael Denathorn