Hi
I am not sure if we have discussed this before - but here goes anyway. Delphi (at least, from from version 2.0 onwards) allows routines that take no parameters to be called with empty brackets appended (e.g., "foo();"), much like C requires. See the test program below. GPC does not allow this. Is there any chance of supporting this in GPC?
This program is valid in Delphi, but not in GPC ...
program adelph; function bar : integer; begin bar := 1; end; procedure foo; begin Writeln (bar ()); end; begin foo (); end.
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~african_chief/