<div dir="auto"><div><div class="gmail_extra"><div class="gmail_quote">Am 11.01.2018 21:46 schrieb "J. Gareth Moreton" <<a href="mailto:gareth@moreton-family.com">gareth@moreton-family.com</a>>:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Possibly related, but the compiler automatically treats numbers larger than or equal to $8000000000000000 as<br>
signed (Int64) regardless of the context or what it's being assigned to (this usually involves compiler<br>
warnings, but also involves causing div to be signed instead of unsigned unless the constant is explicitly<br>
typecast, which raises the aforementioned internal error on 'div', but not 'mod').<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">That such a constant is Int64 is by design as Pascal is a language that favors the signed types. If you want an unsigned constant then you need to do a cast to a suitable type. </div><div dir="auto">Of course if that cast leads to an internal error then that needs to be solved. </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div></div></div>