Lua Hello World example

From MaratisWiki
(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>")
 
 
(One intermediate revision by one user not shown)
Line 6: Line 6:
 
-- set text
 
-- set text
 
setText(Text, "Hello World !")</nowiki>
 
setText(Text, "Hello World !")</nowiki>
 +
 +
[[Category:User manual]]
 +
[[Category:Lua scripting]]

Latest revision as of 15:00, 5 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