igiLoadLanguage

Category: IGI (in-game GUI) — Code editor

Syntax:

igiLoadLanguage:Int(path:String)


Parameters

Returns

A language handle for igiCodeEditorSetLanguage (0 if the file can't be read).



Summary

Loads a language for the code editor from a .lang file. 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.



Example
Global basic:Int = igiLoadLanguage("Media/bamboobasic.lang")

BambooBasic © 2026 Michael Denathorn