Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2016-07

Run-time checks

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Tobias Giesen

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

Reply by email