Jonas Maebe <jonas.ma...@elis.ugent.be>:

> On 18 May 2010, at 20:06, Vinzent Höfler wrote:
> 
> > Florian Klaempfl <flor...@freepascal.org>:
> > 
> >> Vinzent Höfler schrieb:
> >>> Florian Klaempfl <flor...@freepascal.org>:
> >> 
> >> With a function result one can easily use the as-operator.
> > 
> > Yes, and then instead of doing the "undefined behaviour" thingie, it
> would cause an RTE instead. Not much of an improvement, I'd say.
> 
> Exceptions can be caught, unlike violations of the typing system that are
> silently ignored by the compiler.

Yes, sure, it's a more predictable way of failing. It still wouldn't solve the 
problem.


Vinzent.

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to