⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testblanklineremoval.out

📁 格式化源码的最新板
💻 OUT
字号:
unit TestBlankLineRemoval;

{ AFS 7 August 2001
 This unit compiles but is not semantically meaningfull
 it is test cases for the code formatting utility

 This unit tests blank line removal }

interface

implementation

uses SysUtils;

procedure TestBlankLines1;
var

  a: integer;

  b: string;

  c, d, e, f: double;
begin
end;

procedure TestBlankLines2;
var

  a: integer;


  function GetA: integer;
  begin
    Result := a + 1;
  end;

var

  b: string;

  c, d, e, f: double;

begin
end;


procedure TestBlankLines3;
var

  a: integer;

  function GetA: integer;
  begin
    Result := a + 1;
  end;

var

  b: string;

  function GetB: string;
  begin
    Result := b + IntToStr(a);
  end;

var

  c, d, e, f: double;

begin
end;



procedure TestBlankLines4;
var

  a: integer;

  function GetA: integer;
  var

    x, y, z: currency;

    q: string;
  begin
    Result := a + 1;
  end;

var

  b: string;

  c, d, e, f: double;

begin
end;



end.
 

⌨️ 快捷键说明

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