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  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to