benilla-re systems structs docs

s_ipairsName

global · ui

Address
0x8728a4 · 7 bytes, up to 0x8728aa
Type
char[7]
Meaning
Holds the string "ipairs"
Confidence
verified, proof two
Finding
ui/luabase#iteration

Finding: Iteration in ui: the Lua base library

next(t [, key]) requires a table and answers the key and value after key, or nil. pairs(t) requires a table and returns the global next, the table and nil. ipairs(t [, i]) called with one argument answers (ipairs, t, 0); with an index it adds 1.0, pushes the new index and t[__ftol(index)], and returns both when the element is not nil, nothing otherwise. unpack(t) requires a table, takes its length from 0x6f5050, raises table too big to unpack when the stack cannot grow by that count and pushes t[1] to t[n].

The derivation is in the doc.