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 -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: 51FF C1F0 1A77 C6C2 4482 4DDC 117A 9773 7F88 1707