about "with statement"

Jacob Carlborg doob at me.com
Mon Jun 10 00:01:52 PDT 2013


On 2013-06-09 20:09, deadalnix wrote:

> switch(foobar) with(FoobarEnum) {
>      // ...
> }
>
> That is golden !

I agree, that's basically the only case I've used "with" for.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list