[lazarus] Possible compiler problem ?

Marc Weustink Marc.Weustink at cuperus.nl
Tue Jul 4 11:37:39 EDT 2000


Hi,
While fixing an editor problem I ran into the following:

type
  TMyStruct = record
    case AType: TMytype
      TypeA: (TypeAPtr: TTypeAPtr);
      TypeB: (TypeBPtr: TTypeBPtr);
      TypeC: (TypeCPtr: TTypeCPtr);
  end;

In earlier discussions it was stated that indepentend of AType the following
was true:

  MyStruct.TypeAPtr := SomePointer;

  MyStruct.TypeBPtr = SomePointer = MyStruct.TypeCPtr

Is this still the case, since I've some suspictions that it isn't the case.

Marc







More information about the Lazarus mailing list