📄 testclassmethods.obs
字号:
unit testclassmethods;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 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 + -