Elements. Build native projects for any modern development platform, using the language(s) of your choice. Oxygene (Object Pascal), C#, Swift, Java, Go. | RemObjects Software

Namespaces

Language: Oxygene, Platform: Echoes, Category: Language
https://github.com/remobjects/ElementsSamples/tree/master/Oxygene/Echoes/Language/Namespaces

UnitB.pas

namespace NameSpaces.SubNameSpaceB;

interface

uses
  NameSpaces.SubNameSpaceA;

type
  { This class will be used in UnitA, namespace NameSpaces.SubNameSpaceA creating a
    circular reference. Since Oxygene's namespace implementation is correct and complete,
    such declarations are perfectly valid. }
  Employee = class(Person)
  public
    property Salary : Double;
  end;

implementation

end.