<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Hairy Pixels via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>> schrieb am Do., 14. Nov. 2024, 06:24:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr">This gives me "Error in type definition”. A bug?</div><div dir="ltr"><br></div><div><div>type</div><div> TMyRec = record</div><div> type</div><div> T = 0..256**4;</div><div> end;<span style="white-space:pre-wrap"> </span></div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">The **-operator is not *implemented* by the compiler. It's provided through the Math unit. Thus you can't use it in constant declarations. </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>