aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bruiser/lua-scripts/testfile1.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/bruiser/lua-scripts/testfile1.lua b/bruiser/lua-scripts/testfile1.lua
new file mode 100644
index 0000000..9e14bcd
--- /dev/null
+++ b/bruiser/lua-scripts/testfile1.lua
@@ -0,0 +1,16 @@
+print(Vars())
+print(Funcs())
+print(showsource(1,5,"test.cpp"))
+
+a={showsource(1,5,"test.cpp")}
+for k,v in pairs(a) do
+ print(k,v)
+end
+
+b={Vars()}
+for k,v in pairs(b) do
+ print(k,v)
+end
+
+print("today is:")
+print(os.date())