Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR LUA

lua functions

function myFunction()	-- Start with 'function', give it a name
  -- Do something amazing...
end		-- Finish with 'end'

myFunction()	-- Call the function later in the code
 
PREVIOUS NEXT
Tagged: #lua #functions
ADD COMMENT
Topic
Name
8+3 =