We implement arrays in Lua simply by indexing tables with integers. ... creates an array with indices from -5 to 5 a = {} for i=-5, 5 do a[i] = 0 end
確定! 回上一頁