3 local pid, ppid = ap.pid ()
7 cgilua.put ("pid = "..pid.." ("..ppid..")".."\n")
10 assert(type(stable.get) == "function")
11 assert(type(stable.set) == "function")
13 cgilua.put"stable.pairs = {<br>\n"
14 for i, v in stable.pairs () do
15 cgilua.put (i.." = "..tostring(v).."<br>\n")
19 local counter = stable.get"counter" or 0
20 stable.set ("counter", counter + 1)
22 local f = stable.get"f"
25 stable.set ("f", function () return d end)
27 cgilua.put ("f() = "..tostring (f ()))