On 12/11/2010 10:49 AM, steve donovan wrote:
table.insert(t, 1) table.insert(t, nil) table.insert(t, 3) why not just? t[1] = 1 t[3] = 3
table.insert(t, 1) table.insert(t, nil) table.insert(t, 3)
why not just? t[1] = 1 t[3] = 3
because #t ~= 3 then
I think we've become accustomed to table.insert(t,nil) being a no-op... steve d.
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル