[fpc-devel] compiler bug?
Jesus Reyes
jesusrmx at yahoo.com.mx
Thu Dec 30 20:37:18 CET 2004
I have doubts about this so I made a small test, what I want to know
is if a true boolean value be internally be represented by any value
different from 0.
program problem;
var
B: boolean;
begin
FillChar(B, SizeOf(B), 255);
case b of
true: WriteLn(True);
false: WriteLn(False);
else WriteLn('OTHER');
end;
end.
I'm using : Free Pascal Compiler version 1.9.5 [2004/12/29] for i386
under linux.
the program output: OTHER, it's a compiler bug?
_________________________________________________________
Do You Yahoo!?
La mejor conexión a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx
More information about the fpc-devel
mailing list