why $ is need to access array [negative index]?

mw mingwu at gmail.com
Fri Sep 18 21:14:19 UTC 2020


On Friday, 18 September 2020 at 21:11:58 UTC, Steven 
Schveighoffer wrote:
> Well, if you don't care about verbosity.
>
> signs[(sign + $) % $] = ...;

I want compiler writes this verbosity, instead of the user :-)



More information about the Digitalmars-d mailing list