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

📄 testclassmethods.out

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

{ AFS 15 July 2007

  This code compiles, but is not semantically meaningfull.
  It is test cases for the code-formating utility

  this unit tests class methods and properties  }

interface

type
  TFooForm = class
  private
    class var fish: integer;
    class function GetWibble: integer; static;
  public
    class function Foo: boolean;
    class procedure Bar;
    class property Wibble: integer Read GetWibble;
  end;


implementation

{ TFooForm }

class procedure TFooForm.Bar;
begin
  Inc(fish);
end;

class function TFooForm.Foo: boolean;
begin
  Result := True;
end;

class function TFooForm.GetWibble: integer;
begin
  Result := fish;
end;

end.

⌨️ 快捷键说明

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