Add an element at the end of a list, in Lua. ... Where s is a std::list<>. Lua. table.insert(s, x). Doc · Origin. Lua. s[#s + 1] = x ...
確定! 回上一頁