DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR LUA
function return lua
function factorial(x) if x == 1 then return 1 end return x * factorial(x-1) end
Source by lua-users.org #
PREVIOUS
NEXT
Tagged:
#function
#return
#lua
ADD COMMENT
Topic
COMMENT
Name
6+5 =
Submit