codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
/* D - ArraySeq - size, capacity, length */ import tango.util.collection.ArraySeq; import tango.io.Stdout; alias ArraySeq!(int) blurp; void main() { blurp xx = new blurp; xx.capacity = 100; xx.append(10); xx.append(20); xx.append(30); Stdout.formatln ("capacity {} size {} length {}", xx.capacity, xx.size, xx.length); }
Private
[
?
]
Run code