On 30/01/2008, Peter Vreman <[EMAIL PROTECTED]> wrote:
>
> In case of unique integer types. The types are not the equivalent,
> but are still compatible and
> will be converted implicitly by the compiler. It unique types affect
> procedure overloading. The
> following short example demonstrates this.


Thanks Peter. Your example confirms that defining it as a unique type
is what I wanted. All methods that took a TfpgColor as parameter was
defined using a TfpgColor type and not a LongWord.  I prefer the idea
of have TfpgColor defined as a unique type.

Thanks for all the replies...


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to