aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ClientHamr/GuiLua/test.lua
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-03-29 16:29:11 +1000
committerDavid Walter Seikel2014-03-29 16:29:11 +1000
commit860de89154bd170936818a77392058352a00d83c (patch)
tree755cc88753f8b3242debd3362c9b0daaba8d4c69 /ClientHamr/GuiLua/test.lua
parentCombine and improve the widget TODOs. (diff)
downloadSledjHamr-860de89154bd170936818a77392058352a00d83c.zip
SledjHamr-860de89154bd170936818a77392058352a00d83c.tar.gz
SledjHamr-860de89154bd170936818a77392058352a00d83c.tar.bz2
SledjHamr-860de89154bd170936818a77392058352a00d83c.tar.xz
Implement multiple Thing copies.
Diffstat (limited to 'ClientHamr/GuiLua/test.lua')
-rw-r--r--ClientHamr/GuiLua/test.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/ClientHamr/GuiLua/test.lua b/ClientHamr/GuiLua/test.lua
index d566354..2f93c94 100644
--- a/ClientHamr/GuiLua/test.lua
+++ b/ClientHamr/GuiLua/test.lua
@@ -48,6 +48,7 @@ end
48local skang = require 'skang' 48local skang = require 'skang'
49local test = require 'test' 49local test = require 'test'
50local test_c = require 'test_c' 50local test_c = require 'test_c'
51local copy_test = skang.new(test, 'copy')
51 52
52print('End ' .. test.bar .. ' ' .. test.VERSION .. ' ' .. skang.things.ffunc.help .. ' ->> ' .. skang.things.f.action) 53print('End ' .. test.bar .. ' ' .. test.VERSION .. ' ' .. skang.things.ffunc.help .. ' ->> ' .. skang.things.f.action)
53print('foo = ' .. test.foo .. ' ->> ' .. skang.things.foo.help) 54print('foo = ' .. test.foo .. ' ->> ' .. skang.things.foo.help)
@@ -59,6 +60,10 @@ print('')
59 60
60test.f = 42 61test.f = 42
61print('f is now ' .. test.fooble .. ' ' .. test.f .. ' ' .. skang.things.f.help .. ' ' .. skang.things.fooble.help) 62print('f is now ' .. test.fooble .. ' ' .. test.f .. ' ' .. skang.things.f.help .. ' ' .. skang.things.fooble.help)
63print('copy_f is now ' .. copy_test.fooble .. ' ' .. copy_test.f)
64copy_test.f = 24
65print('f is now ' .. test.fooble .. ' ' .. test.f .. ' ' .. skang.things.f.help .. ' ' .. skang.things.fooble.help)
66print('copy_f is now ' .. copy_test.fooble .. ' ' .. copy_test.f)
62test.f = nil 67test.f = nil
63print('f is now ' .. test.fooble .. ' ' .. test.f) 68print('f is now ' .. test.fooble .. ' ' .. test.f)
64test.fooble = 42 69test.fooble = 42