Difference between revisions of "Lua:createLuaEngine"
Jump to navigation
Jump to search
(Initial page creation.) |
m (→Examples: Syntax Highlight.) |
||
| Line 21: | Line 21: | ||
===Examples=== | ===Examples=== | ||
| − | < | + | <syntaxhighlight lang="lua" line> |
local luaEngine = createLuaEngine() | local luaEngine = createLuaEngine() | ||
luaEngine.show() | luaEngine.show() | ||
| − | </ | + | </syntaxhighlight> |
{{LuaSeeAlso}} | {{LuaSeeAlso}} | ||
Revision as of 23:19, 26 June 2026
Creates a Lua Engine editor window.
If no main Lua Engine window exists yet, the created instance becomes the main Lua Engine window.
Function Parameters
| Parameter | Type | Description |
|---|---|---|
| None | — | This function does not take parameters. |
Returns
LuaEngine — The created Lua Engine form.
Examples
1 local luaEngine = createLuaEngine()
2 luaEngine.show()