igiCodeEditorGetText

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.

IGI

Parameters & Returns

Parameters

editor Int

Returns

String

Quick 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.

Technical Exegesis...

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.

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

Example

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