Pau*_*aul 3 ide delphi pascal continue code-editor
我很想知道某些行末尾显示的代码标记(参见屏幕截图)是否在任何地方进行了解释或记录(对于 RAD Studio 10.4)。我注意到,当这些项目以单位名称为前缀时,前 3 个(for Halt、Continueand )将会消失。BreakSystem.
至于raise,我不清楚红色向上小箭头的含义或应如何解决。代码编译良好,没有错误、警告或提示。
procedure TForm1.FormCreate(Sender: TObject);
var
I: Integer;
begin
if False then Halt(99);
for I := 0 to 2 do
begin
if I = 0 then Continue;
if I = 1 then Break;
end;
try
Transaction.StartTransaction;
//update database
Transaction.Commit;
except
Transaction.Rollback;
raise;
end;
end;
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
207 次 |
| 最近记录: |