Commit Graph

8 Commits

Author SHA1 Message Date
Rob Hoelz
edea434d89 Use local variables for function examples
Currently, the example functions create variables in global
scope.
2013-09-04 11:43:09 +02:00
Rob Hoelz
57e0ac7e95 Add another example of function call without parens
Function calls using a table literal as its sole parameter
may also omit parentheses
2013-09-04 11:41:42 +02:00
Rob Hoelz
6c53c05dcc Clarify self-referential local functions
The current language used implies that `local function f() ... end`
does not allow f to invoke itself.  This has been clarified via the
addition of an example of a local function that may *not* invoke
itself.
2013-09-04 11:39:15 +02:00
Amr Tamimi
7938abfe88 fix fib function for Lua: fib(0) must eql 0 not 1 2013-07-28 21:34:27 +03:00
Adam
9ad61b5586 Authors -> Contributors 2013-07-03 22:59:13 -07:00
Adam
83aeecb68a Added filename parameter 2013-06-29 20:19:14 -07:00
Adam
6334cec093 Moved lua footer stuff out of code block to insert links (markdown won't do links in code blocks 2013-06-26 13:07:31 -07:00
Adam
9b451ce38e Added lua 2013-06-26 12:41:43 -07:00