testwarndestroy.out

来自「格式化源码的最新板」· OUT 代码 · 共 29 行

OUT
29
字号
unit testwarndestroy;

interface

type
  tfoo = class
  public
    destructor Destroy; override;
    procedure testcreate;
  end;

implementation

destructor tfoo.Destroy;
begin
  inherited
  Destroy;
end;

procedure tfoo.testcreate;
var
  lcfoo: tfoo;
begin
  lcfoo := tfoo.Create;
  lcfoo.Destroy;
end;

end.
 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?