aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/lua-scripts
diff options
context:
space:
mode:
Diffstat (limited to 'bruiser/lua-scripts')
-rw-r--r--bruiser/lua-scripts/testfile1.lua21
1 files changed, 21 insertions, 0 deletions
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("-------------------------------------------------------------")