diff options
Diffstat (limited to 'ClientHamr/GuiLua/test.lua')
-rw-r--r-- | ClientHamr/GuiLua/test.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ClientHamr/GuiLua/test.lua b/ClientHamr/GuiLua/test.lua index 96d46e6..f3dcb62 100644 --- a/ClientHamr/GuiLua/test.lua +++ b/ClientHamr/GuiLua/test.lua | |||
@@ -3,8 +3,7 @@ | |||
3 | do -- Only I'm not gonna indent this. | 3 | do -- Only I'm not gonna indent this. |
4 | 4 | ||
5 | local skang = require 'skang' | 5 | local skang = require 'skang' |
6 | --On the other hand, having 'Copyright 2014 David Seikel' here makes the copyright self documenting. B-) | 6 | local _M = skang.moduleBegin('test', nil, 'Copyright 2014 David Seikel', '0.1', '2014-03-27 03:57:00', [[ |
7 | local _M = skang.moduleBegin('test', 'David Seikel', '2014', '0.0', '2014-03-19 14:01:00', [[ | ||
8 | #!skang test.skang -- This is Lua, so this might not work. | 7 | #!skang test.skang -- This is Lua, so this might not work. |
9 | 8 | ||
10 | -- There's an implied local this = require 'test' | 9 | -- There's an implied local this = require 'test' |
@@ -49,6 +48,8 @@ end | |||
49 | local skang = require 'skang' | 48 | local skang = require 'skang' |
50 | local test = require 'test' | 49 | local test = require 'test' |
51 | 50 | ||
51 | print('MODULE ' .. test._NAME .. ', ' .. test.COPYRIGHT .. ' Version: ' .. test.VERSION .. '\n' .. test.VERSION_DESC .. '\n') | ||
52 | |||
52 | print('foo = ' .. test.foo .. ' ->> ' .. skang.things.foo.help) | 53 | print('foo = ' .. test.foo .. ' ->> ' .. skang.things.foo.help) |
53 | print('End ' .. test.bar .. ' ' .. test.VERSION .. ' ' .. skang.things.ffunc.help .. ' ->> ' .. skang.things.f.action) | 54 | print('End ' .. test.bar .. ' ' .. test.VERSION .. ' ' .. skang.things.ffunc.help .. ' ->> ' .. skang.things.f.action) |
54 | test.ffunc('one', 2) | 55 | test.ffunc('one', 2) |