[fpc-devel]RangeChecking & NOT operator
    Peter Beisel 
    beisel at kbprueftechnik.frm.de
       
    Wed Apr 10 10:10:18 CEST 2002
    
    
  
compiler: FPC 1.0.4
target:   go32v2
1:   var
2:      b: byte;
3:   begin
4:   b := 0;
5:   b := NOT b;
6:   end.
Switch range checking ON compile and run.
You will get:
Runtime error 201 at line 5
But that's not the behavior I would have expected.
I think this is a bug.
Regards Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20020410/0c7dba19/attachment.html>
    
    
More information about the fpc-devel
mailing list