例如,在C中它是void ABC(int& a,int& b),但我不知道如何在Delphi中编写它.
procedure ABC(var a: Integer; var b: Integer);
文件说:
Most parameters are either value parameters (the default) or variable (var) parameters. Value parameters are passed by value,while variable parameters are passed by reference.