lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
Finalizers and Lua.org demo page
From
: Egor Skriptunoff <egor.skriptunoff@
...
>
Date
: Wed, 19 Jul 2017 21:00:49 +0300
Hi!
I have the following Lua program:
setmetatable({}, {__gc = function() print("Hello") end})
When I run it on my computer, It prints "Hello".
It also prints "Hello" when I run it on most "run Lua code online" websites:
rextester.com
,
jdoodle.com
,
tutorialspoint.com
,
ideone.com
But it prints nothing when I try to run in on
www.lua.org/cgi-bin/demo
Why?
-- Egor
Follow-Ups
:
Re: Finalizers and Lua.org demo page
,
Зайцев Михаил
Re: Finalizers and Lua.org demo page
,
Luiz Henrique de Figueiredo
Re: Finalizers and Lua.org demo page
,
William Ahern
Prev by Date:
[ANN] brieflz 0.1.0 - Lua binding for BriefLZ
Next by Date:
Re: Finalizers and Lua.org demo page
Previous by thread:
Re: [ANN] brieflz 0.1.0 - Lua binding for BriefLZ
Next by thread:
Re: Finalizers and Lua.org demo page
Index(es):
Date
Thread