Pass by [ref]
Original Reporter info from Mantis: Fiji
-
Reporter name: Fiji
Original Reporter info from Mantis: Fiji
- Reporter name: Fiji
Description:
There is a new keyword in Delphi which allows passing by reference.
program Project1;
{$MODE DELPHI}
procedure Test(const [ref] A: Integer); // Fatal: Syntax error, "identifier" expected but "[" found
begin
end;
begin
end.
Mantis conversion info:
- Mantis ID: 28902
- OS: Windows
- OS Build: 8.1
- Platform: Windows
- Version: 3.1.1