aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/lua-scripts/pre1.lua
blob: b739cb9694f842315a2c9cd22f704408f5c82a9e (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
38
39
40
41
42
43
44
45
function printfunction()
  local c = {Funcs()}
  for k,v in pairs(c) do
    print(k,v)
  end
end

print("-------------------------------------------------------------")
print("START")
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("-------------------------------------------------------------")

text=hijackmain()
print(text)
print("-------------------------------------------------------------")

printfunction()
print("-------------------------------------------------------------")
print("THE END")
print("-------------------------------------------------------------")