From fdcea2a889ece5f09de051f876f246b41711b373 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Tue, 13 Jun 2017 20:35:34 +0430 Subject: now makes some sense --- bruiser/lua-scripts/testfile1.lua | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'bruiser/lua-scripts/testfile1.lua') diff --git a/bruiser/lua-scripts/testfile1.lua b/bruiser/lua-scripts/testfile1.lua index 9e14bcd..7a88907 100644 --- a/bruiser/lua-scripts/testfile1.lua +++ b/bruiser/lua-scripts/testfile1.lua @@ -1,16 +1,37 @@ +function printfunction() + local c = {Funcs()} + for k,v in pairs(c) do + print(k,v) + end +end + +print("-------------------------------------------------------------") print(Vars()) +print("-------------------------------------------------------------") + print(Funcs()) +print("-------------------------------------------------------------") + print(showsource(1,5,"test.cpp")) +print("-------------------------------------------------------------") a={showsource(1,5,"test.cpp")} for k,v in pairs(a) do print(k,v) end +print("-------------------------------------------------------------") b={Vars()} for k,v in pairs(b) do print(k,v) end +print("-------------------------------------------------------------") print("today is:") +print("-------------------------------------------------------------") + print(os.date()) +print("-------------------------------------------------------------") + +printfunction() +print("-------------------------------------------------------------") -- cgit v1.2.3