📄 testvarparam.out
字号:
unit TestVarParam;
{ AFS 5 Feb 2K
This code compiles, but is not semantically meaningfull.
It is test cases for the code-formating utility
this unit tests untyped var params
}
interface
implementation
procedure MangleData(var Data);
begin
end;
procedure CallMangleData;
var
foo: string;
bar: PChar;
begin
foo := 'hello';
MangleData(foo);
bar := PChar(foo);
MangleData(bar);
MangleData(bar^);
MangleData(PChar(foo)^);
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -