aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-06-12 12:19:43 +0000
committerbloodstalker <thabogre@gmail.com>2017-06-12 12:19:43 +0000
commit8e36dc179039e9d8df1ef8a671058433b78479ba (patch)
tree3797950f839629303e7acbf8f53db12d1df61381 /bruiser
parentfixed the new command (diff)
downloadmutator-8e36dc179039e9d8df1ef8a671058433b78479ba.tar.gz
mutator-8e36dc179039e9d8df1ef8a671058433b78479ba.zip
new example scripts
Diffstat (limited to 'bruiser')
-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())