[fpc-pascal] Difference between initialization and begin in a unit

leledumbo leledumbo_cool at yahoo.co.id
Mon Apr 13 05:11:42 CEST 2009


Might be a stupid question, but it's nowhere mentioned in the documentation
though allowed. What are the differences between:

unit A;

interface

implementation

initialization
  <initialization code>

end.

and:

unit B;

interface

implementation

begin
  <initialization code>

end.
-- 
View this message in context: http://www.nabble.com/Difference-between-initialization-and-begin-in-a-unit-tp23017283p23017283.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.




More information about the fpc-pascal mailing list