Lua Hello World example

(Difference between revisions)
Jump to: navigation, search
(Created page with "Simple Hello World example : <nowiki>-- get text object named "Text" Text = getObject("Text") -- set text setText(Text, "Hello World !")</nowiki>")
 
Line 6: Line 6:
 
-- set text
 
-- set text
 
setText(Text, "Hello World !")</nowiki>
 
setText(Text, "Hello World !")</nowiki>
 +
 +
[[Category:Lua scripting]]

Revision as of 17:55, 4 February 2014

Simple Hello World example :

-- get text object named "Text"
Text = getObject("Text")

-- set text
setText(Text, "Hello World !")
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox