📄 testautomated.out
字号:
unit TestAutomated;
{ AFS 15 July 2007
This unit compiles but is not semantically meaningfull
it is test cases for the code formatting utility
This unit tests use of the "automated" keyword
}
interface
type
TPublicAndAutomated = class
public
function PublicMethod: boolean;
automated
function AuomatedMethod: wordbool; dispid 1;
end;
TAutomatedOnly = class
automated
function AuomatedMethod: wordbool; dispid 1;
end;
implementation
{ TMyClass }
function TPublicAndAutomated.AuomatedMethod: wordbool;
begin
Result := True;
end;
function TPublicAndAutomated.PublicMethod: boolean;
begin
Result := True;
end;
{ TAutomatedOnly }
function TAutomatedOnly.AuomatedMethod: wordbool;
begin
Result := True;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -