Hello, Is there any compiler switch to increase the range limit check for operations like this?:
{$R-} var r: SmallInt = 256; i : SmallInt; begin i := 10; if i in [0..r] then WriteLn('OK') else WriteLn('Fail'); end; Thank you! -- Silvio Clécio My public projects - github.com/silvioprog
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal