[fpc-devel] type question

Marc Weustink marc at dommelstein.net
Sat Oct 14 15:55:15 CEST 2006


Hi,

if I define 2 types like:

type
  MyA = type string;
  MyB = type string;

are MyA and MyB considered as the same type ?
Should it be allowed to assign a variable of type MyA to a variable of
type MyB ?
IIRC, the use of = type <some type> creates a new type.
Or am I wrong ?

Marc



More information about the fpc-devel mailing list