http://0xcc.net/blog/archives/000043.html ä½ã£ã¦ã¿ãã Ruby (Array) VBScript (Array) VimScript (list) a = [1, 2, 3] a = Array(1, 2, 3) let a = [1,2,3] a.length UBound(a) - LBound(a) + 1 len(a) a.empty? UBound(a) = -1 empty(a) a.push(x) ReDim Preserve a(UBound(a) + 1) a(UBound(a)) = x call add(a, x) a.unshift(x) call insert(a, x) a.pop ReDim Preserve a(UBound(a)-1) unlet a[-1] a.shift unlet a[0] a.concat
{{#tags}}- {{label}}
{{/tags}}