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
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to