On 04/07/16 19:35, Tobias Giesen wrote:
Is it possible to check class typecasts such as
TMyIniFile(AnIniFile) ?
Yes, by compiling with -CR.
Jonas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailm
Hello,
I have a few questions about run-time checks.
Is it possible to check class typecasts such as
TMyIniFile(AnIniFile) ?
Or only "AnIniFile as TMyIniFile"?
If only the second, it would be cool if it were possible to disallow the first
kind of
typecast.
Cheers,
Tobias
_