Am 13.09.2010 14:51, schrieb Willibald Krenn:
> 
>>> Well, it's the Delphi way of creating a new type rather than an 
>>> alias.
>> 
>> Since they are still assignment compatible, I don't consider it as
>> a really new type.
> 
> Are you sure they are assignment compatible? 

I don't have a delphi here, but I'am pretty sure, yes.

> I thought the whole
> point of the type A = type B was to make a new type, not an alias.

Well, the point is to be able to overload procedures/functions. They are
no more equal but compatible.

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

Reply via email to