[fpc-devel] new features and facilities

Dmitry Boyarintsev skalogryz.lists at gmail.com
Fri Oct 9 19:15:05 CEST 2015


The only Pascal way is

 left := IfThen(expr1, expr2, expr3)

Similar to addr(), sizeof(), length(), write() and recently added Default()
in intrinsic.
I guess functions declared in Math unit are not covering all the needs
(since type of expr2, expr3) may vary.
That's why a bit of compiler support is needed.

thanks,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20151009/dbc4c537/attachment.html>


More information about the fpc-devel mailing list