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

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

jquery - How can I position these divs horizontally? -