Hello, I’m trying to learn Lua. I go to the Official Lua website and I saw a few books about Lua. The 5.0 version (First Book), The 5.1 version (The Second Book), The 5.2 version (Third) and the last one is the 5.3 version. (Fourth Book) The first one is free book (5.0 Version) and I wanna learn Lua with that book. I’m living in another country this why I can’t buy the second, third and fourth one. I think they can’t ship it to my country. And also It’s very expensive in my country. My question is: If I learn the Version 5.0 Lua can I start scripting on Roblox?
Its recommended that you learn Lua 5.1 as that is what Roblox Lua (or Luau) is based off of.
Ok but If I learn Lua 5.0 what’s the difference of them?
Of course, you don’t need this Lua book to start learning.
But, if you really want to buy any Lua book, buy the 5.1 edition like @DasKairo said. But again, buying this book is kinda unnecessary, so I advise just research a lot, look up tutorials.
Alright. But what’s the difference of the 5.0 and 5.1?
You are basically looking at a 3 year gap, as Lua 5.0 was released in 2003, and Lua 5.1 was released in 2006
You can look at the Version History which would basically summarize whats there.
Here is a little information from the official Lua website: Lua 5.1 was released on 21 Feb 2006. Its main new features were a new module system, incremental garbage collection, new mechanism for varargs, new syntax for long strings and comments, mod and length operators, metatables for all types, new configuration scheme via luaconf.h, and a fully reentrant parser.
Ok I Understand It. Thanks for the answers!
Alright. Thanks for the answers!
You’re welcome, have a nice day.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.