Hello, has Lazarus (CodeTools) or FPC some checking for empty commands? I accidentally did this stupid mistake: if ... then begin ... end else; begin ... exit; end; Note the semicolon behind the "else". Semicolon as an empty command is sometimes useful (temporary solution). Thanks, V.