'write' crashes without extra window

Gary Willoughby via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Oct 8 02:17:00 PDT 2014


On Wednesday, 8 October 2014 at 03:33:38 UTC, Adam D. Ruppe wrote:
> You could just wrap the write function in a try/catch to 
> explicitly ignore the error.

Or if the write function is there only for debug purposes you 
could wrap it in a debug/version block.

http://ddili.org/ders/d.en/cond_comp.html


More information about the Digitalmars-d-learn mailing list