17 Apr
2004
17 Apr
'04
11:03 a.m.
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/
8164
Age (days ago)
8166
Last active (days ago)
24 comments
7 participants
participants (7)
-
CBFalconer -
Eike Lange -
Frank Heckenbach -
John L. Ries -
Prof A Olowofoyeku (The African Chief) -
Scott Moore -
Waldek Hebisch