Array Slice Ranges
Bradley Smith
digitalmars-com at baysmith.com
Wed Nov 8 23:37:04 PST 2006
> Maybe
>
> arr[2~~3] -- two dots stretch out and squgglified?
> arr[2**2] -- two dots gone hairy?
> arr[2::3] -- two dots .. on top of two dots ..
> arr[2``3] -- closest you can get to two dots up high
> arr[2##3] -- eh..
> arr[N@@B] -- heh heh
>
I noticed that ~~ is listed as a token on the Lexical page
(http://www.digitalmars.com/d/lex.html), but I can't find reference to
it anywhere else. What is ~~ used for?
More information about the Digitalmars-d
mailing list