[fpc-pascal] FPC's generics

Florian Klaempfl florian at freepascal.org
Wed Jun 13 14:00:49 CEST 2007


Bisma Jayadi schrieb:
> Hi all,
> Any comments?

We tried to do it keeping the spirit of pascal in mind. The array in an
array declaration is also useless, you could do
type
  a : integer[0..100];

Using generic is verbose but imo one defines seldomly generic types so
it is ok because it improves readability of the construct.



More information about the fpc-pascal mailing list