diff options
author | bloodstalker <thabogre@gmail.com> | 2017-06-13 16:05:34 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2017-06-13 16:05:34 +0000 |
commit | fdcea2a889ece5f09de051f876f246b41711b373 (patch) | |
tree | cffb2ee7de5031b9db0bb097430965e38805b7c9 /bruiser/lua-scripts/testfile1.lua | |
parent | added some more help text (diff) | |
download | mutator-fdcea2a889ece5f09de051f876f246b41711b373.tar.gz mutator-fdcea2a889ece5f09de051f876f246b41711b373.zip |
now makes some sense
Diffstat (limited to '')
-rw-r--r-- | bruiser/lua-scripts/testfile1.lua | 21 |
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("-------------------------------------------------------------") |