📄 testdelphinetconst.out
字号:
unit testdelphinetconst;
interface
type
ttemperatureconverter = class(TObject)
public
const
absolutezero = -273;
end;
type
tmyclass = class
const
x = 12;
y = tmyclass.x + 23;
procedure hello;
private
const
s = 'A string constant';
end;
ttestconstfirst = class(TObject)
const
some_const = 1;
private
testint: int32;
end;
ttestconstfirst2 = class(TObject)
const
some_const = 1;
other_const = 2;
private
testint: int32;
end;
implementation
procedure tmyclass.hello;
begin
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -