From 21d822ccc42816dd0ad66775534c889c22d27b8b Mon Sep 17 00:00:00 2001 From: chasets Date: Sun, 31 Jan 2021 10:04:36 -0500 Subject: Fixed dead link for Lua for programmers --- lua.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua.html.markdown') diff --git a/lua.html.markdown b/lua.html.markdown index 53e396be..4a470623 100644 --- a/lua.html.markdown +++ b/lua.html.markdown @@ -395,7 +395,7 @@ g() -- Prints out 343; nothing printed before now. I was excited to learn Lua so I could make games with the Love 2D game engine. That's the why. -I started with BlackBulletIV's Lua for programmers. +I started with BlackBulletIV's Lua for programmers. Next I read the official Programming in Lua book. That's the how. -- cgit v1.2.3 From 57fe664a50b17aa36d803289e6456b0d7ea8f074 Mon Sep 17 00:00:00 2001 From: tarsJr <41229348+tarsJr@users.noreply.github.com> Date: Mon, 29 Nov 2021 03:19:16 +0530 Subject: Lua: use of loadstring replaced with load; loadstring is deprecated. (#4275) --- lua.html.markdown | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lua.html.markdown') diff --git a/lua.html.markdown b/lua.html.markdown index 4a470623..e32a275d 100644 --- a/lua.html.markdown +++ b/lua.html.markdown @@ -383,8 +383,9 @@ 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. --]] -- cgit v1.2.3 From c42db51e7c9a5111e702622b1ea0941cd20b5238 Mon Sep 17 00:00:00 2001 From: 225559 <52628757+225559@users.noreply.github.com> Date: Mon, 3 Jan 2022 18:22:40 +0100 Subject: Add Lua community links (#4069) --- lua.html.markdown | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lua.html.markdown') diff --git a/lua.html.markdown b/lua.html.markdown index e32a275d..ac7883b2 100644 --- a/lua.html.markdown +++ b/lua.html.markdown @@ -391,6 +391,12 @@ 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 -- cgit v1.2.3