[fpc-devel] Parameters must match exactly?
"Vinzent Höfler"
JeLlyFish.software at gmx.net
Wed May 19 07:20:00 CEST 2010
Jonas Maebe <jonas.maebe at elis.ugent.be>:
> 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.
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
More information about the fpc-devel
mailing list