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. Jonas_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel