summaryrefslogtreecommitdiffhomepage
path: root/lua.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'lua.html.markdown')
-rw-r--r--lua.html.markdown13
1 files changed, 10 insertions, 3 deletions
diff --git a/lua.html.markdown b/lua.html.markdown
index 4a470623..32512060 100644
--- a/lua.html.markdown
+++ b/lua.html.markdown
@@ -383,13 +383,20 @@ dofile('mod2.lua') --> Hi! (runs it again)
-- loadfile loads a lua file but doesn't run it yet.
f = loadfile('mod2.lua') -- Call f() to run it.
--- loadstring is loadfile for strings.
-g = loadstring('print(343)') -- Returns a function.
+-- load is loadfile for strings.
+-- (loadstring is deprecated, use load instead)
+g = load('print(343)') -- Returns a function.
g() -- Prints out 343; nothing printed before now.
--]]
```
+
+## Community
+
+If you need support join the official Lua [mailing list](https://www.lua.org/lua-l.html), [irc channel](http://lua-users.org/wiki/IrcChannel), or [forum](https://luaforum.com).
+
+
## References
I was excited to learn Lua so I could make games
@@ -399,7 +406,7 @@ I started with <a href="https://ebens.me/post/lua-for-programmers-part-1/">Black
Next I read the official <a href="http://www.lua.org/pil/contents.html">Programming in Lua</a> book.
That's the how.
-It might be helpful to check out the <a href="http://lua-users.org/files/wiki_insecure/users/thomasl/luarefv51.pdf">Lua short
+It might be helpful to check out the <a href="http://lua-users.org/wiki/LuaShortReference">Lua short
reference</a> on lua-users.org.
The main topics not covered are standard libraries: