Category: IGI (in-game GUI) — Code editor
Syntax:
igiCodeEditorGetText:String(editor:Int)
All the editor's text, with Chr(10) between lines.
Gets the text, to save it or to run it.
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.
fileSaveString(igiCodeEditorGetText(editor), "level1.script", BBR_STR_FORM_UTF8)
BambooBasic © 2026 Michael Denathorn