[fpc-pascal] Why use pointers to arrays?

Henry Vermaak henry.vermaak at gmail.com
Mon Oct 12 22:09:52 CEST 2009


2009/10/12 Andrew Brunner <andrew.t.brunner at gmail.com>:
>>>  pS[2] <<<<<<<<<<<<<<<
>
> Any idea what the compiler option is under Lazarus (that's what I use
> exclusively)?
>
> I get a compiler error when I don't use the ^ operator.

It only works with {$mode delphi} and lazarus uses {$mode objfpc}, i think.



More information about the fpc-pascal mailing list