On Fri, Feb 24, 2012 at 6:29 PM, Everton Vieira <tonvie...@gmail.com> wrote:
> Doesn't work this code doesn't compile:

Sorry, I forgot to mention that advanced record syntax works in Delphi
mode only. To compile it you must change {$mode objfpc} to {$mode
Delphi}.

See also: 
http://wiki.freepascal.org/FPC_New_Features_2.6.0#Advanced_record_syntax
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to