1
0
mirror of https://github.com/kepler155c/opus synced 2025-10-21 18:57:41 +00:00

web running os

This commit is contained in:
kepler155c@gmail.com
2017-05-21 03:30:25 -04:00
parent 76a3313654
commit 9e25c4ca0c
3 changed files with 39 additions and 20 deletions

View File

@@ -55,15 +55,14 @@ local function unserialize( s )
end
end
local function sure(N,n)
if (l2-n)<1 then N="0" end
return N
end
local function splitnum(S)
local Out=""
for l1=1,#S,2 do
local l2=(#S-l1)+1
local function sure(N,n)
if (l2-n)<1 then N="0" end
return N
end
local CNum=tonumber("0x"..sure(string.sub(S,l2-1,l2-1),1) .. sure(string.sub(S,l2,l2),0))
Out=string.char(CNum)..Out
end