Lazarus doesn't compile the simplest program

General
Slava
2012-05-22
2013-05-14
  • Andreas Stöckel

    Either write

    Application.OnIdle := @Idle
    

    or add

    {$MODE Delphi}
    

    to the beginning of your file and write

    Application.OnIdle := Idle
    

    This is also discussed in the Lazarus specific tutorial.

     
  • Slava

    Slava - 2012-05-22

    Thanks you very much! Variant with @Idle didn't worked ( It wrote 'Variable identifier expected'). But another variant worked!

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks