This is how the page for include describes its first argument, fileName:
The name of the script to be executed. The path must be either relative to the current file, or be an absolute path (relative to and excluding the lua/ folder).
This argument is a path, which does not follow the require path format, where dots are separators.
If include is treated like Lua 5.1's dofile, it would be correct in this case.
This is how the page for
include
describes its first argument,fileName
:This argument is a path, which does not follow the
require
path format, where dots are separators. Ifinclude
is treated like Lua 5.1'sdofile
, it would be correct in this case.