aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ClientHamr/GuiLua/skang.lua
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-04-03 04:41:43 +1000
committerDavid Walter Seikel2014-04-03 04:41:43 +1000
commit2b8bae453f611a0360046081288309ebaa87ff4c (patch)
tree107fbfc2859607829d9de5b7f49abe7fed5de82e /ClientHamr/GuiLua/skang.lua
parentFix up the commented version of the function calls. (diff)
downloadSledjHamr-2b8bae453f611a0360046081288309ebaa87ff4c.zip
SledjHamr-2b8bae453f611a0360046081288309ebaa87ff4c.tar.gz
SledjHamr-2b8bae453f611a0360046081288309ebaa87ff4c.tar.bz2
SledjHamr-2b8bae453f611a0360046081288309ebaa87ff4c.tar.xz
Docs++
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.