complement to $

Pelle pelle.mansson at gmail.com
Sat May 15 02:16:09 PDT 2010


On 05/14/2010 10:42 PM, Ali Çehreli wrote:
> $ has always bugged me anyway, so how about no character at all:
>
> coll[..n]; // beginning to n
> coll[n..]; // n to end
> coll[..]; // all of it
>
> I like it! :)
>
> Ali

coll[uniform(0,$)]; // <-- awesome.


More information about the Digitalmars-d mailing list