anonymous functions and scope(exit)

frame frame86 at live.com
Sat Jul 3 22:52:39 UTC 2021


On Saturday, 3 July 2021 at 22:04:04 UTC, Luis wrote:

> scope(exit) it's syntactic sugar for a classic `try {} finally 
> {}` . The documentation says that must be executed.

It works if you replace printf() with writeln() or use writeln() 
after. There must be some buffer issue.


More information about the Digitalmars-d-learn mailing list