[Lazarus] record literal in FPC?

Andreas Schneider aksdb at gmx.de
Wed Jan 9 19:19:14 CET 2013


On Wednesday, January 9, 2013, 01:40pm Paul Ishenin wrote:
> First check whether it works delphi mode.

Apparently,  it  even works in mode objfpc. But only when the property
directly  reads/writes  a member. If there is a setter method, it will
still  compile  but  NOT  actually  change the record. Neither in mode
objfpc nor in mode delphi.

Example attached. I will also open a bug report.

-- 
Best Regards,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fpcwith.lpr
Type: application/octet-stream
Size: 1351 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130109/05039d9c/attachment-0003.obj>


More information about the Lazarus mailing list