[fpc-devel] compiler bug?

Jesus Reyes jesusrmx at yahoo.com.mx
Thu Dec 30 22:48:57 CET 2004


 --- peter green <plugwash at bircd.org> escribió: 
> you are forciblly putting an out of range value in a variable what
> do you
> expect to happen?
> 
> 
>

Of course the program was made to do that evident, but what happen
when you find a procedure, for example:

procedure doAorB(value: boolean);
begin
  case value of
    true: doA;
    false: doB;
  end;
end;

one might think either doA or doB will executed, but the reality is
that sometimes neither doA or doB will do.


 

_________________________________________________________
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