mirror of
https://github.com/Leonmmcoset/CMLeonOS.git
synced 2026-03-03 11:37:01 +00:00
软件管理器
This commit is contained in:
3
LuaApps/helloworld.lua
Normal file
3
LuaApps/helloworld.lua
Normal file
@@ -0,0 +1,3 @@
|
||||
print("Hello, World!")
|
||||
print("Welcome to CMLeonOS!")
|
||||
print("This is a simple Lua application.")
|
||||
7
LuaApps/testspeed.lua
Normal file
7
LuaApps/testspeed.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
local loop = 100000000
|
||||
os.timerstart()
|
||||
for i = 1, loop do
|
||||
-- Nothing
|
||||
end
|
||||
cost = os.timerstop()
|
||||
print("Loop " .. loop .. ", cost " .. cost .. "s.")
|
||||
Reference in New Issue
Block a user