[fpc-devel] Parameters must match exactly?

Jonas Maebe jonas.maebe at elis.ugent.be
Tue May 18 20:24:26 CEST 2010


On 18 May 2010, at 20:06, Vinzent Höfler wrote:

> Florian Klaempfl <florian at freepascal.org>:
> 
>> Vinzent Höfler schrieb:
>>> Florian Klaempfl <florian at 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


More information about the fpc-devel mailing list