aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/lua-scripts/testfile1.lua
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-06-13 16:05:34 +0000
committerbloodstalker <thabogre@gmail.com>2017-06-13 16:05:34 +0000
commitfdcea2a889ece5f09de051f876f246b41711b373 (patch)
treecffb2ee7de5031b9db0bb097430965e38805b7c9 /bruiser/lua-scripts/testfile1.lua
parentadded some more help text (diff)
downloadmutator-fdcea2a889ece5f09de051f876f246b41711b373.tar.gz
mutator-fdcea2a889ece5f09de051f876f246b41711b373.zip
now makes some sense
Diffstat (limited to '')
-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("-------------------------------------------------------------")