This sections gives an overview of the implementation state of the lua system libraries.
assertCallsSystem.Diagnostics.Debug.Assert.
collectgarbageOnly the parameter "count" and "collect" are supported. "step" and "isrunning" return always "true". "setpause" returns "false". "*
dofileRedirects to DoChunk to load and run a text file. Optional add parameters for the script.
dofile('test.lua', 'a', 1, 'b', 2);stdin is not supported."
dochunkRedirects to DoChunk.
errorThrows a {{LuaRuntimeException}}.
_G
getmetatableNo metatable for userdata, operators are used.
ipairs
loadThe "mode" "b" is not supported.
loadfileThe "mode" "b" is not supported.
next
pairs
pcall
printPrints on the debug output.
rawequal
rawget
rawlen
rawset
select
setmetatableNo metatable for userdata, operators are used.
tonumber
tostring
type“type” is extended with a second boolean parameter, that replaces “userdata” with the clr-type-name: type(obj, true);
_VERSION
xpcall
Coroutines are implemented in the LuaThread class. This class creates a managed thread for every coroutine. The resume-steps can run asynchronous.
create
resume
running
status
wrap
yield
:BeginResumeStarts the execution of the next part of the thread.
:EndResumeWaits for the end of currently running part.
requireDifferent implementation, that fits better with the NeoLua framework.
config
cpath
loaded
loadlib
path
preload
searchers
searchpath
byte
char
dump
find.net regex syntax with an exchange of the escape symbol % is . But you can set string.__TranslateRegEx to false to use .net regulare expressions.
format
gmatch.net regex syntax with an exchange of the escape symbol % is . But you can set string.__TranslateRegEx to false to use .net regulare expressions.
gsub.net regex syntax with an exchange of the escape symbol % is . But you can set string.__TranslateRegEx to false to use .net regulare expressions.
len
lower
match
pack
packsize
rep
reverse
sub
unpack
upper
abs
acos
asin
atan
atan2
ceil
cos
cosh
deg
e
exp
floar
fmod
frexp
huge
ldexp
log
max
maxinteger
min
mininteger
modf
pi
pow
rad
random
randomseed
sin
sinh
sqrt
tan
tanh
tointeger
type
ult
"Works only with ASCII files. The file-handle uses the IDisposable-Pattern."
close
flush
input
lines
open
output
popen
read
tmpfile
tmpfilenewCreates a temporary file, that is deleted, when it is closed.
type
write
:close
:flush
:lines
:read
:seek
:setvbufIgnored.
:write
clockReturns TotalProcessorTime in seconds.
date
difftime
executeOn windows is no signal-result.
exit
getenv
remove
rename
setlocale
time
tmpname
debug
getuservalue
gethook
getinfo
getlocal
getmetatable
getregistry
getupvalueWorks on closures and classes.
setuservalue
sethook
setlocal
setmetatable
setupvalueWorks on closures and classes.
traceback
upvalueidDo not trust the returned integer. The return value is only good for comparison.
upvaluejoinOnly works on closures (Lambda's). For example, the upvalues of the function that is returned by load are not join-able.