On 14 Nov 2012, at 17:33, ik wrote: > begin > writeln(chr(256)); // because it is constant, the compiler only yell warning > end. > > Why does FPC allow such value to enter chr without raising something up ?
You can get an error by enabling range checking (-Cr on the command line or
{$r+} in the source code).
Jonas_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
