diff options
Diffstat (limited to '')
-rw-r--r-- | ClientHamr/GuiLua/skang.lua | 6 |
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. | |||
332 | Only the variables it specifies as managed Things are dealt with here. | 332 | Only the variables it specifies as managed Things are dealt with here. |
333 | 333 | ||
334 | 334 | ||
335 | Things that are tables are treated differently, in two different ways even. | ||
336 | Ordinary table Things are basically treated recursively, the table is a parent, and it gets it's own Things. | ||
337 | There is also 'Keyed' type table Things, where the keys to this table are arbitrary, but we still want to store Things in it. | ||
338 | In 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 | |||
335 | TODO - | 341 | TODO - |
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. |