diff options
Diffstat (limited to 'ClientHamr')
-rw-r--r-- | ClientHamr/GuiLua/skang.lua | 4 | ||||
-rw-r--r-- | ClientHamr/GuiLua/test.lua | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ClientHamr/GuiLua/skang.lua b/ClientHamr/GuiLua/skang.lua index bd712f2..b7cf59b 100644 --- a/ClientHamr/GuiLua/skang.lua +++ b/ClientHamr/GuiLua/skang.lua | |||
@@ -136,6 +136,8 @@ moduleBegin = function (name, author, copyright, version, timestamp, skin) | |||
136 | -- Dunno if this causes problems with the do ... end style of joining modules. It does. So we need to restore in moduleEnd(). | 136 | -- Dunno if this causes problems with the do ... end style of joining modules. It does. So we need to restore in moduleEnd(). |
137 | -- Next question, does this screw with the environment of the skang module? No it doesn't, coz that's set up at require 'skang' time. | 137 | -- Next question, does this screw with the environment of the skang module? No it doesn't, coz that's set up at require 'skang' time. |
138 | 138 | ||
139 | print('Loaded module ' .. _M._NAME .. ' version ' .. _M.VERSION .. ', ' .. _M.COPYRIGHT .. '.\n ' .. _M.VERSION_DESC) | ||
140 | |||
139 | return _M | 141 | return _M |
140 | end | 142 | end |
141 | 143 | ||
@@ -149,7 +151,7 @@ end | |||
149 | 151 | ||
150 | -- Call this now so that from now on, this is like any other module. | 152 | -- Call this now so that from now on, this is like any other module. |
151 | local _M = moduleBegin('skang', 'David Seikel', 'Copyright 2014 David Seikel', '0.1', '2014-03-27 02:57:00') | 153 | local _M = moduleBegin('skang', 'David Seikel', 'Copyright 2014 David Seikel', '0.1', '2014-03-27 02:57:00') |
152 | print('Skang loaded, running under Lua version ' .. _VERSION) | 154 | print('Skang is running under Lua version ' .. _VERSION) |
153 | 155 | ||
154 | 156 | ||
155 | csv2table = function (csv) | 157 | csv2table = function (csv) |
diff --git a/ClientHamr/GuiLua/test.lua b/ClientHamr/GuiLua/test.lua index 2115098..3c2e9ab 100644 --- a/ClientHamr/GuiLua/test.lua +++ b/ClientHamr/GuiLua/test.lua | |||
@@ -49,8 +49,6 @@ 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 | 51 | ||
52 | print('MODULE ' .. test._NAME .. ', ' .. test.COPYRIGHT .. ' Version: ' .. test.VERSION .. '\n' .. test.VERSION_DESC .. '\n') | ||
53 | |||
54 | print('foo = ' .. test.foo .. ' ->> ' .. skang.things.foo.help) | 52 | print('foo = ' .. test.foo .. ' ->> ' .. skang.things.foo.help) |
55 | 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) |
56 | test.ffunc('one', 2) | 54 | test.ffunc('one', 2) |