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.