[fpc-pascal] Delphi mode syntax error

Roland Turcan konf at rotursoft.sk
Tue Jan 19 11:43:14 CET 2010

<<< 19.01.2010 11:39 - Jonas Maebe "jonas.maebe at 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.

Best regards, TRoland

More information about the fpc-pascal mailing list