This sections gives an overview of the implementation state of the lua system libraries.
-
assert
CallsSystem.Diagnostics.Debug.Assert
. -
collectgarbage
Only the parameter "count" and "collect" are supported. "step" and "isrunning" return always "true". "setpause" returns "false". "*dofile
Redirects 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."
-
dochunk
Redirects to DoChunk. -
error
Throws a {{LuaRuntimeException}}. -
_G
-
getmetatable
No metatable for userdata, operators are used. -
ipairs
-
load
The "mode" "b" is not supported. -
loadfile
The "mode" "b" is not supported. -
next
-
pairs
-
pcall
-
print
Prints on the debug output. -
rawequal
-
rawget
-
rawlen
-
rawset
-
select
-
setmetatable
No 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
-
:BeginResume
Starts the execution of the next part of the thread. -
:EndResume
Waits for the end of currently running part.
-
require
Different 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
-
tmpfilenew
Creates a temporary file, that is deleted, when it is closed. -
type
-
write
-
:close
-
:flush
-
:lines
-
:read
-
:seek
-
:setvbuf
Ignored. -
:write
-
clock
Returns TotalProcessorTime in seconds. -
date
-
difftime
-
execute
On windows is no signal-result. -
exit
-
getenv
-
remove
-
rename
-
setlocale
-
time
-
tmpname
-
debug
-
getuservalue
-
gethook
-
getinfo
-
getlocal
-
getmetatable
-
getregistry
-
getupvalue
Works on closures and classes. -
setuservalue
-
sethook
-
setlocal
-
setmetatable
-
setupvalue
Works on closures and classes. -
traceback
-
upvalueid
Do not trust the returned integer. The return value is only good for comparison. -
upvaluejoin
Only works on closures (Lambda's). For example, the upvalues of the function that is returned by load are not join-able.