Jump to content

Recommended Posts

26 minutes ago, Fr0sT.Brutal said:

Meanwhile BoolToStr returns '-1' for True %-)

"finally" sections are good for making early exits that must not exit the subroutine

Unless you need multi-pass processing, or you have logic for conditional processing further down.

Share this post


Link to post
19 minutes ago, Lars Fosdal said:

Unless you need multi-pass processing, or you have logic for conditional processing further down.

Sure. In some cases could be useful Abort instead of Exit together with on E: EAbort do {ignore} or extracting these checks into nested subroutine where natural Exits could be used

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×