【测试】lua时间对比

This commit is contained in:
wxd-gaming
2024-10-09 19:36:32 +08:00
parent 9821820d62
commit 9b95787944
13 changed files with 509 additions and 308 deletions

View File

@@ -0,0 +1,29 @@
---
--- Generated by EmmyLua(https://github.com/EmmyLua)
--- Created by admin.
--- DateTime: 2024/8/19 09:49
---
---
function errFunc(error)
print("\n==============\nerrFunc - " .. debug.traceback(error) .. "\n==============\n")
end
function t1(str)
print(str)
local num = 99999999999999999
print(num)
print(1 << 2)
local time = os.time()
print(type(time) .. " - " .. tostring(time))
--print(type(time) + num .. tostring(time))
--print(debug.traceback())
--print(str + num)
end
--local success, error = pcall(t1, "d")
--if not success then
-- errFunc(error)
--else
-- print("Code executed successfully.")
--end