[fpc-devel] BUG REPORT: Fail to compile when using the out keyword instead of var

Michael Van Canneyt michael at freepascal.org
Mon Jun 19 09:25:17 CEST 2023

On Sun, 18 Jun 2023, Dylan Lamb via fpc-devel wrote:

> [image: fpcbug.png]

This is not a bug. You're using mode fpc, in which the "out" keyword is not
supported. You have 3 possibilities to activate this:

Use mode objfpc:

{$mode objfpc}

Use mode delphi:

{$mode delphi}

or enable the use of out in mode fpc:

{$modeswitch out}


More information about the fpc-devel mailing list