[fpc-pascal] Constants in generics

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Jan 3 13:45:33 CET 2019


On Thu, 3 Jan 2019 14:58:00 +0300
Alexander Shishkin via fpc-pascal <fpc-pascal at lists.freepascal.org>
wrote:

>[...]
> This is OK (both T and U are integer):
> generic TMyRecord1<const T, const U: integer> = record end;

That is inconsistent to normal Pascal arguments.

<accessors> Name[, Name ...][:type]

Isn't it?

Mattias



More information about the fpc-pascal mailing list