The way FPC handles generics went against all other previous Pascal conventions. You always had
A) type block which then is always followed by B) an identifier and then a C) type definition terminated with a semi colon B and C can then be repeated in pairs until a different block is declared (const, var, threadvar, resourcestring, function, procedure, begin or end) So what you always had with regards to a type block is: A B C; B C; B C; Where A is he keyword 'type', B is and identifier, and C is the type definition. Then someone went and decided that rather than scan ahead for a < after the identifier, they wanted another keyword in front of B, which breaks the whole pattern. A B C; generic B C; B C;
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal