[fpc-pascal] compile time init'ing records

Maciej Izak hnb.code at gmail.com
Fri Apr 13 11:27:17 CEST 2018


2018-04-13 10:51 GMT+02:00 Ryan Joseph <ryan at thealchemistguild.com>:

> Records don’t have default constructors also like other modern languages
> so they need some work  in my opinion.
>

FPC has "Initialize" operator for such purposes :
http://wiki.freepascal.org/management_operators

-- 
Best regards,
Maciej Izak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20180413/4565cb4f/attachment.html>


More information about the fpc-pascal mailing list