Lua50.lib 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. _VERSION var
  2. _G var
  3. assert(v, [message]) foo
  4. collectgarbage([limit]) foo
  5. dofile(filename) foo
  6. error(message, [level]) foo
  7. getfenv(f) foo
  8. getmetatable(object) foo
  9. gcinfo() foo
  10. ipairs(t) foo
  11. loadfile(filename) foo
  12. loadlib(libname, funcname) foo
  13. loadstring(string, [chunkname]) foo
  14. next(table, [index]) foo
  15. pairs(t) foo
  16. pcall(f, arg1, arg2, ...) foo
  17. print(e1, e2, ...) foo
  18. rawequal(v1, v2) foo
  19. rawget(table, index) foo
  20. rawset(table, index, value) foo
  21. require(packagename) foo
  22. setfenv(f, table) foo
  23. setmetatable(table, metatable) foo
  24. tonumber(e, [base]) foo
  25. tostring(e) foo
  26. type(v) foo
  27. unpack(list) foo
  28. xpcall(f, err) foo
  29. coroutine.create(f) foo
  30. coroutine.resume(co, val1, ...) foo
  31. coroutine.status(co) foo
  32. coroutine.wrap(f) foo
  33. coroutine.yield(val1, ...) foo
  34. string.byte(s, [i]) foo
  35. string.char(i1, i2, ...) foo
  36. string.dump(function) foo
  37. string.find(s, pattern, [init], [plain]) foo
  38. string.len(s) foo
  39. string.lower(s) foo
  40. string.rep(s, n) foo
  41. string.sub(s, i, [j]) foo
  42. string.upper(s) foo
  43. string.format(formatstring, e1, e2, ...) foo
  44. string.gfind(s, pat) foo
  45. string.gsub(s, pat, rep1, [n]) foo
  46. table.concat(table, [sep], [i], [j]) foo
  47. table.foreach(table, f) foo
  48. table.foreachi(table, f) foo
  49. table.getn(table) foo
  50. table.sort(table, [comp]) foo
  51. table.insert(table, [pos], value) foo
  52. table.remove(table, [pos]) foo
  53. table.setn(table, n) foo
  54. math.abs(n) foo
  55. math.acos(n) foo
  56. math.asin(n) foo
  57. math.atan(n) foo
  58. math.atan2(n1, n2) foo
  59. math.ceil(n) foo
  60. math.cos(n) foo
  61. math.deg(n) foo
  62. math.exp(n) foo
  63. math.floor(n) foo
  64. math.log(n) foo
  65. math.log10(n) foo
  66. math.max(n1, [...]) foo
  67. math.min(n1, [...]) foo
  68. math.mod(n1, n2) foo
  69. math.pow(n1, n2) foo
  70. math.rad(n) foo
  71. math.sin(n) foo
  72. math.sqrt(n) foo
  73. math.tan(n) foo
  74. math.frexp(n1, exp) foo
  75. math.ldexp(n1, exp) foo
  76. math.random(rangemin, [rangemax]) foo
  77. math.randomseed(seed) foo
  78. io.close([file]) foo
  79. io.flush() foo
  80. io.input([file]) foo
  81. io.lines([filename]) foo
  82. io.open(filename, [mode]) foo
  83. io.output([file]) foo
  84. io.read(format1, ...) foo
  85. io.tmpfile() foo
  86. io.type(obj) foo
  87. io.write(value1, ...) foo
  88. os.clock() foo
  89. os.date([format], [time]) foo
  90. os.difftime(t2, t1) foo
  91. os.execute(command) foo
  92. os.exit([code]) foo
  93. os.getenv(varname) foo
  94. os.remove(filename) foo
  95. os.rename(oldname, newname) foo
  96. os.setlocale(locale, [category]) foo
  97. os.time([table]) foo
  98. os.tmpname() foo
  99. debug.debug() foo
  100. debug.gethook() foo
  101. debug.getinfo(function, [what]) foo
  102. debug.getlocal(level, local) foo
  103. debug.getupvalue(func, up) foo
  104. debug.setlocal(level, local, value) foo
  105. debug.setupvalue(func, up, value) foo
  106. debug.sethook(hook, mask, [count]) foo
  107. debug.traceback([message]) foo