On Sun, 12 Apr 2009 20:11:42 -0700 (PDT)
leledumbo <leledumbo_c...@yahoo.co.id> wrote:

> 
> 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.

AFAIK it is syntactic sugar. They are the same.

Mattias
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to