如何关闭对文件一部分的范围检查。关闭很容易,但我以后如何恢复到项目设置?下面的伪代码应该解释它:
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.