Prof A Olowofoyeku (The African Chief) wrote:
Ok. While you are at it, there is another minor one. This program: program athen; {$delphi} begin If ParamCount = 0 then; Writeln ('OK'); end.
generates a warning: athen.pas: In main program: athen.pas:4: warning: `;' after `then'
Should this warning be generated in BP mode?
I think so. It's just a diagnostic. The construct is also valid in standard Pascal. You can use `-Wno-semicolon'.
For full BP compatibility turn off all warnings as BP has none (not really recommended ;-).
Frank