Lua Hello World example

From MaratisWiki
(Difference between revisions)
Jump to: navigation, search
 
Line 7: Line 7:
 
setText(Text, "Hello World !")</nowiki>
 
setText(Text, "Hello World !")</nowiki>
  
 +
[[Category:User manual]]
 
[[Category:Lua scripting]]
 
[[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