On 16/06/2023 11:55, Giuliano Colla via fpc-pascal wrote:
Is that the intended behavior of compiler?
Yes. Assigning a 64bit integer to a 32bit one is fine as long as the range is within bounds. Range of a variable can only be checked at run time. _______________________________________________ fpc-pascal maillist - [email protected] https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
