benilla-re systems structs docs

tonumber

Lua base library function

Function
ScriptToNumber ui
Meaning
Serves tonumber: converts argument 1 in base 10 or by strtoul in a base from 2 to 36 verified, proof two
Registered in
base library table s_frameScriptBaseLibrary ui
Registrar pair
0x811ed0
Arguments
2 exact
Returns
1 values exact, kinds (nil) | (number) agree

Arguments is the largest Lua stack index the function reads: a floor, never a check. Returns lists the number and the kinds of the values it pushes; ? is unknown. what the columns mean.

Cited in 1