Hairy Pixels via fpc-pascal <fpc-pascal@lists.freepascal.org> schrieb am
Do., 14. Nov. 2024, 06:24:

> This gives me "Error in type definition”. A bug?
>
> type
>   TMyRec = record
>     type
>       T = 0..256**4;
>   end;
>

The **-operator is not *implemented* by the compiler. It's provided through
the Math unit. Thus you can't use it in constant declarations.

Regards,
Sven

>
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to