Parameters & Returns
Parameters
Returns
Quick Summary
Makes a language for the code editor from .lang text - handy for a small language your game makes up.
Takes text (The text of a .lang file).
Returns: A language handle for igiCodeEditorSetLanguage.
Technical Exegesis...
Makes a language for the code editor from .lang text - handy for a small language your game makes up. Mistakes in the text are reported (see igiLanguageErrors) rather than stopping the program. See the .lang format page.
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: A language handle for igiCodeEditorSetLanguage.
Example
Global lang:Int = igiDefineLanguage("name = Turtle" & Chr(10) & "lineComment = #" & Chr(10) & "[commands]" & Chr(10) & "FORWARD TURN")