aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/lua-scripts/testfile1.lua
blob: 7a889071b64dd2cf650a5940fc743c6c4c0f7ac9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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("-------------------------------------------------------------")