📄 testdelphinetampersandmethod.out
字号:
unit testdelphinetampersandmethod;
interface
type
tclass1 = class
private
emptyvalue: system.&object;
public
function testfile: boolean;
constructor Create;
end;
var
atype: &type;
anothertype: system.&type;
anobject: &object;
anotherobject: system.&object;
implementation
uses system.net, system.io;
constructor tclass1.Create;
var
weby1, weby2: webrequest;
begin
inherited Create;
weby1 := webrequest.&Create('http://www.google.com');
weby2 := system.net.webrequest.&Create('http://www.google.com');
end;
function tclass1.testfile: boolean;
begin
Result := system.io.&file.exists('XY');
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -