github.com/arnodel/golua@v0.0.0-20230215163904-e0b5347eaaa1/lib/base/lua/rawset.lua (about) 1 local t = {} 2 rawset(t, "x", 42) 3 print(t.x) 4 --> =42 5 6 print(pcall(rawset, t, nil, 12), pcall(rawset, t, "y"), pcall(rawset, "a", "x", 42), 0) 7 --> =false false false 0