[fpc-pascal] Forward declarations

Rainer Stratmann RainerStratmann at t-online.de
Thu Dec 22 21:37:40 CET 2011


Am Thursday 22 December 2011 21:33:13 schrieb Timothy Groves:
> Can anyone think of a situation in which you would *have* to use forward
> declared functions?  I'm trying to come up with an example for such for
> my book, and I am drawing a blank.
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal


procedure fwproc; forward;

procedure myprocedure;
begin
 fwproc;
end;

procedure fwproc;
begin

end;



More information about the fpc-pascal mailing list