ファイルの一部の範囲チェックをオフにするにはどうすればよいですか。オフにするのは簡単ですが、後でプロジェクト設定に戻すにはどうすればよいですか? 以下の疑似コードはそれを説明するはずです:
Unit1;
//here's range checking on or off as per the project setting
code here...
{$R-}
//range checking is off here because the code causes range check errors
code here...
//now I want to revert to the project setting. How do I do that?
code here...
end.