Array indexing

Adam D. Ruppe destructionator at gmail.com
Mon Dec 3 16:49:09 PST 2012


Try

arr ~= 33;

the ~= operator means append to. You can also do

auto a = [1,2] ~ [3,4];

which would give [1,2,3,4]



More information about the Digitalmars-d-learn mailing list