aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ClientHamr/GuiLua/skang.lua
diff options
context:
space:
mode:
Diffstat (limited to 'ClientHamr/GuiLua/skang.lua')
-rw-r--r--ClientHamr/GuiLua/skang.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/ClientHamr/GuiLua/skang.lua b/ClientHamr/GuiLua/skang.lua
index b36b8a3..674f8f9 100644
--- a/ClientHamr/GuiLua/skang.lua
+++ b/ClientHamr/GuiLua/skang.lua
@@ -332,6 +332,12 @@ A parent is free to use it's own name space for anything it wants.
332Only the variables it specifies as managed Things are dealt with here. 332Only the variables it specifies as managed Things are dealt with here.
333 333
334 334
335Things that are tables are treated differently, in two different ways even.
336Ordinary table Things are basically treated recursively, the table is a parent, and it gets it's own Things.
337There is also 'Keyed' type table Things, where the keys to this table are arbitrary, but we still want to store Things in it.
338In this case, when a table is assigned to this Keyed Thing, via a new key, a new table Thing is created by copying the parent Thing description.
339
340
335TODO - 341TODO -
336 test.foo -> test.__index(test, 'foo') -> test.__values[foo]; if that's nil, and test.stuff[foo], then return an empty table instead? 342 test.foo -> test.__index(test, 'foo') -> test.__values[foo]; if that's nil, and test.stuff[foo], then return an empty table instead?
337 stuff.s = {a='foo'} -> changes a, deletes everything else, or should. 343 stuff.s = {a='foo'} -> changes a, deletes everything else, or should.