• Announcement: Lua.org now officially recommends this forum as a meeting place for the Lua community

Search results

  1. shelvacu

    Common pitfalls to avoid in Lua

    This guide assumes you are already familiar with the basics of Lua, including tables, strings, the number type, and functions. Here are a few things you can do to avoid common and/or hard-to-debug mistakes in Lua. Do not compare tables with ==. Ex: --Do not do this! {a = 5} == {a = 5} --=>...