testcommentindent2.out

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

OUT
60
字号
unit testcommentindent2;

interface

uses SysUtils;

const
  foo = 3;

var
  lb: boolean;

type
  aninteger = integer;

  tfooclass = class
  public
    procedure bar;
  end;

implementation

uses Dialogs, Classes;

procedure tfooclass.bar;
const
  limit = 99;
var
  licounter: integer;
begin
  for licounter := 0 to limit do
  begin
    lb := not lb;
  end;
end;

procedure testtry;
begin
  try
    lb := not lb;
  except;
  end;
  try
    lb := not lb;
  except
    on e: Exception do
      ShowMessage('Era');
  end;
end;

initialization
  lb := False;
  begin
    lb := not lb;
  end;

finalization
  lb := False;
end.
 

⌨️ 快捷键说明

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