[fpc-pascal] Set size limit

Paul Ishenin paul.ishenin at gmail.com
Mon Mar 11 15:14:59 CET 2013


11.03.13, 22:10, Sven Barth wrote:
> Generics do work for array, but maybe not for indices.

Only for type of element as I remember.

> Also you'd need
> to declare the operators anyway. Best solution in this case might be to
> encapsulate the array in a record and define the operators there...

Maybe then it will be easier to implement compiler support using 
bitpacked arrays instead of creating so complex workarounds?

Best regards,
Paul Ishenin



More information about the fpc-pascal mailing list