[fpc-pascal] Generic way to pre-maturely exit TCustomApplication without memory leaks
d7559b8c502dea1b5323af444e81e014 at grabun.pl
Mon Oct 17 08:18:31 CEST 2016
>> I ended up doing exactly that though it feels like an ugly thoug[h]
>> incomplete hack. Thanks for the tip.
> Why a hack?
> System.ExitCode is meant for returning exitcodes.
Being forced to forfeit one or two layers of abstraction in an object
oriented environment does sound like a hack to me. A direct access to
system variables is inelegant to my unexperienced eye but YMMV.
More information about the fpc-pascal