lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



If it did not go through this time the mailing list software is having issues.
This is the code, BTW:

local fn <const> = "test"


local MAJOR <const> = 1
local MINOR <const> = 1


local init = false
do
    --  determine file size
    local file <close> = assert(io.open(fn, "a+"))
    local size = assert(file:seek("end", 0))
    init = (size == 0)
end


local database = { MAJOR = MAJOR, MINOR = MINOR }

On Fri, May 22, 2020 at 1:00 PM Jonathan Goble <jcgoble3@gmail.com> wrote:
On Fri, May 22, 2020, 3:28 PM Gé Weijers <ge@weijers.org> wrote:
Look at my first email in this thread. It has a sample Lua 5.4 program.

It seems to be missing. The first email begins with "BTW" on my end. 


--