📜  如何制作一个 opencomputers 操作系统 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:41.379000             🧑  作者: Mango

代码示例1
_G
_VERSION
 
assert
error
getmetatable
ipairs
load
next
pairs
pcall
rawequal
rawget
rawlen
rawset
select
setmetatable
tonumber
tostring
type
xpcall
 
bit32.arshift
bit32.band
bit32.bnot
bit32.bor
bit32.btest
bit32.bxor
bit32.extract
bit32.lrotate
bit32.lshift
bit32.replace
bit32.rrotate
bit32.rshift
 
coroutine.create
coroutine.resume
coroutine.running
coroutine.status
coroutine.wrap
coroutine.yield
 
debug.getinfo
debug.traceback
debug.getlocal
debug.getupvalue
 
math.abs
math.acos
math.asin
math.atan
math.atan2
math.ceil
math.cos
math.cosh
math.deg
math.exp
math.floor
math.fmod
math.frexp
math.huge
math.ldexp
math.log
math.max
math.min
math.modf
math.pi
math.pow
math.rad
math.random
math.randomseed
math.sin
math.sinh
math.sqrt
math.tan
math.tanh
 
os.clock
os.date
os.difftime
os.time
 
string.byte
string.char
string.dump
string.find
string.format
string.gmatch
string.gsub
string.len
string.lower
string.match
string.rep
string.reverse
string.sub
string.upper
 
table.concat
table.insert
table.pack
table.remove
table.sort
table.unpack
 
checkArg
 
component.doc
component.fields
component.invoke
component.list
component.methods
component.proxy
component.slot
component.type
 
computer.address
computer.addUser
computer.beep
computer.energy
computer.freeMemory
computer.getArchitectures
computer.getArchitecture
computer.getBootAddress
computer.getDeviceInfo
computer.getProgramLocations
computer.isRobot
computer.maxEnergy
computer.pullSignal
computer.pushSignal
computer.removeUser
computer.setArchitecture
computer.setBootAddress
computer.shutdown
computer.tmpAddress
computer.totalMemory
computer.uptime
computer.users
 
unicode.char
unicode.charWidth
unicode.isWide
unicode.len
unicode.lower
unicode.reverse
unicode.sub
unicode.upper
unicode.wlen
unicode.wtrunc
 
-- Lua 5.3 only:
coroutine.isyieldable
 
string.pack
string.unpack
string.packsize
 
table.move
 
math.maxinteger
math.mininteger
math.tointeger
math.type
math.ult
 
utf8.char
utf8.charpattern
utf8.codes
utf8.codepoint
utf8.len
utf8.offset