diff options
Diffstat (limited to 'ClientHamr/GuiLua/test.lua')
-rw-r--r-- | ClientHamr/GuiLua/test.lua | 5 |
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 | |||
48 | local skang = require 'skang' | 48 | local skang = require 'skang' |
49 | local test = require 'test' | 49 | local test = require 'test' |
50 | local test_c = require 'test_c' | 50 | local test_c = require 'test_c' |
51 | local copy_test = skang.new(test, 'copy') | ||
51 | 52 | ||
52 | print('End ' .. test.bar .. ' ' .. test.VERSION .. ' ' .. skang.things.ffunc.help .. ' ->> ' .. skang.things.f.action) | 53 | print('End ' .. test.bar .. ' ' .. test.VERSION .. ' ' .. skang.things.ffunc.help .. ' ->> ' .. skang.things.f.action) |
53 | print('foo = ' .. test.foo .. ' ->> ' .. skang.things.foo.help) | 54 | print('foo = ' .. test.foo .. ' ->> ' .. skang.things.foo.help) |
@@ -59,6 +60,10 @@ print('') | |||
59 | 60 | ||
60 | test.f = 42 | 61 | test.f = 42 |
61 | print('f is now ' .. test.fooble .. ' ' .. test.f .. ' ' .. skang.things.f.help .. ' ' .. skang.things.fooble.help) | 62 | print('f is now ' .. test.fooble .. ' ' .. test.f .. ' ' .. skang.things.f.help .. ' ' .. skang.things.fooble.help) |
63 | print('copy_f is now ' .. copy_test.fooble .. ' ' .. copy_test.f) | ||
64 | copy_test.f = 24 | ||
65 | print('f is now ' .. test.fooble .. ' ' .. test.f .. ' ' .. skang.things.f.help .. ' ' .. skang.things.fooble.help) | ||
66 | print('copy_f is now ' .. copy_test.fooble .. ' ' .. copy_test.f) | ||
62 | test.f = nil | 67 | test.f = nil |
63 | print('f is now ' .. test.fooble .. ' ' .. test.f) | 68 | print('f is now ' .. test.fooble .. ' ' .. test.f) |
64 | test.fooble = 42 | 69 | test.fooble = 42 |