Commit Graph

26 Commits

Author SHA1 Message Date
Stefan Trost
f8c0fd4aeb
[lua] Fix url (#4828) 2024-01-21 20:56:57 +01:00
Sainan
1cfd2d6c0f
Update lua.html.markdown 2023-07-19 00:04:26 +01:00
Rod Elias
e34431b31f fix typos and minor improvements 2022-07-31 15:25:11 -03:00
Pab0
acff6a36c1
Update LuaShortReference link
The previous PDF location 404's on lua-users.org, so linking to the respective lua-users.org/wiki page instead (which includes working links to the PDFs on Thomas Lauer's website).
2022-07-21 16:42:43 +02:00
225559
c42db51e7c
Add Lua community links (#4069) 2022-01-04 01:22:40 +08:00
tarsJr
57fe664a50
Lua: use of loadstring replaced with load; loadstring is deprecated. (#4275) 2021-11-28 22:49:16 +01:00
chasets
21d822ccc4
Fixed dead link for Lua for programmers 2021-01-31 10:04:36 -05:00
Julian Montague
62252055c2 Fix typo by indicating a range with '...' 2020-03-13 08:01:57 +01:00
Bedder
1462b5966f
Update from gist/tylerneylon
Note: https://gist.github.com/tylerneylon/5853042#gistcomment-851184
2018-11-25 01:02:50 -03:00
Topher
5e4079fa33
[lua/en] Fixed formatting and variable names 2018-08-08 19:24:40 +03:00
Topher
057511f3a7
[lua/en] Added a note about the wonky ternary
Ternaries in lua only work if the value returned when the condition evaluates to `true` is not `false` or `Nil`.
2018-08-08 19:17:43 +03:00
Abhijeet Mohan
50c8f7b4dd Fix typo (#2317) 2016-07-30 18:28:27 +02:00
Saurabh Sandav
7a6d3b1549 [elisp/en] Fix typo 2015-10-28 13:16:13 +05:30
Saurabh Sandav
a019e2c16b [lua/en] Fix typo 2015-10-24 12:22:11 +05:30
Geoffrey Liu
6933d24227 Capitalize language names. See #137 2014-10-12 12:24:52 -07:00
iirelu
88274f8a3a normalised lua doc to 80 chars per line
When this was originally written, it was written for a line-width of 50
characters, however Learn X in Y Minutes' site is designed for
80-character widths. This made it look very out of place.
2014-03-03 15:49:12 +00:00
Jakukyo Friel
f70b1edcfb lua: typo
`LoudDog.__index` is `Dog`, not `LoudDog`.
2014-02-06 01:45:16 +08:00
Craig Roddin
8cbabf82b8 Fixed spelling of trig function "sin" 2013-10-07 12:33:10 -06:00
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