[fpc-devel] new features and facilities
Dmitry Boyarintsev
skalogryz.lists at gmail.com
Fri Oct 9 20:47:09 CEST 2015
On Fri, Oct 9, 2015 at 2:45 PM, Dmitry Boyarintsev <
skalogryz.lists at gmail.com> wrote:
> Looking at the assembler code, a=0 is evaluated first.
> If it's true, the code is passed to the next line after assert, w/o
> evaluating 'error '+intToStr(b).
>
And that's the reason why assert() was invented and people love it... as
well as -Sa :)
thanks,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20151009/1ecd8693/attachment.html>
More information about the fpc-devel
mailing list