igiCodeEditorGetText

Category: IGI

Syntax:

igiCodeEditorGetText:String(editor:Int)


Parameters

Returns

String



Summary

Gets the text, to save it or to run it.

Takes editor (An editor handle).

Returns all the editor's text, with Chr(10) between lines.

View detailed documentation online



Example
fileSaveString(igiCodeEditorGetText(editor), "level1.script", BBR_STR_FORM_UTF8)

BambooBasic © 2026 Michael Denathorn