On Tue, 19 Jan 2010, Roland Turcan wrote:

<<< 19.01.2010 11:39 - Jonas Maebe "jonas.ma...@elis.ugent.be" >>>

JM> On 19 Jan 2010, at 11:27, Jonas Maebe wrote:

On 19 Jan 2010, at 11:14, Roland Turcan wrote:

ShowMessage (IntToStr (MyItems[0]));

I think this should work:
 ShowMessage (IntToStr (MyItems[0]()));

Please also file a bug report with a compilable example (which does
not depend on Lazarus) that demonstrates the problem

JM> Well, at least if the original code compiles with Delphi/Kylix.

Thank Jonas for you reply, but FreePascal and Kylix as well reports
the same error.

It should not compile in Delphi mode.
Array syntax is not supported by Delphi.

So there is no bug.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to