<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<tt>compiler: FPC 1.0.4</tt>
<br><tt>target:   go32v2</tt>
<br><tt> </tt><tt></tt>
<p><tt>1:   var</tt>
<br><tt>2:      b: byte;</tt>
<br><tt>3:   begin</tt>
<br><tt>4:   b := 0;</tt>
<br><tt>5:   b := NOT b;</tt>
<br><tt>6:   end.</tt>
<br><tt></tt> <tt></tt>
<p><tt>Switch range checking ON compile and run.</tt>
<br><tt>You will get:</tt><tt></tt>
<p><tt>Runtime error 201 at line 5</tt><tt></tt>
<p><tt>But that's not the behavior I would have expected.</tt>
<br><tt>I think this is a bug.</tt><tt></tt>
<p><tt>Regards Peter</tt></html>