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

2023-06-19 Thread Dylan Lamb via fpc-devel
I was smashing my head in the keyboard yesterday trying to figure out what was wrong. I searched a lot online but hadn't found a solution to my issue. I've never had to report a problem I faced through a mailing list so I appreciate the fast response and kind reply. Thank you very much for your tim

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

2023-06-19 Thread Tomas Hajny via fpc-devel
On 2023-06-19 09:25, Michael Van Canneyt via fpc-devel wrote: 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: . . One additional mi

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

2023-06-19 Thread Michael Van Canneyt via fpc-devel
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