Re: [fpc-pascal] Run-time checks
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/mailman/listinfo/fpc-pascal
[fpc-pascal] Run-time checks
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 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal