forward declaration of procedure in delphi -
how can make forward declaration of procedure in delphi , make it's implementation in other place? want c's code in delphi:
void foobar(); void foobar() { // }
you forward
directive, so:
procedure foobar(); forward; ... //later on procedure foobar() begin // end;
this necessary if you're declaring internal function. (ie. inside implementation
section of unit.) declared method of class, or in interface
section of unit, automatically understood forward-declared.
Comments
Post a Comment