testwarndestroy.out
来自「格式化源码的最新板」· OUT 代码 · 共 38 行
OUT
38 行
unit TestWarnDestroy;
interface
type
TFoo = class
public
destructor Destroy; override;
procedure TestCreate;
end;
implementation
{ TFoo }
destructor TFoo.Destroy;
begin
// this is not a warning
inherited Destroy;
end;
procedure TFoo.TestCreate;
var
lcFoo: TFoo;
begin
lcFoo := TFoo.Create;
// this is a warning
lcFoo.Destroy;
end;
end.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?