[Lazarus] Semicolon checking

Vojtěch Čihák vojtech.cihak at atlas.cz
Sun Jan 15 23:30:52 CET 2017


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.


More information about the Lazarus mailing list