[fpc-pascal] Run-time checks

Tobias Giesen tobiasgiesen at gmail.com
Mon Jul 4 19:35:21 CEST 2016


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





More information about the fpc-pascal mailing list