Class TSub3Array (unit mwFixedRecSort)

Inherits from

TObject

TSub3Array defines the boundaries of a SubArray and determines if the SubArray is full or not. The MergeSort Algorithm is easier readable with this class.

Constructors


constructor Create(MaxValue: LongInt);



Functions

destructor Destroy;

Next

procedure Init(LeftEnd, RightEnd: LongInt);

Create

procedure Next;

Init

Properties

Events

Variables

FLeft : LongInt;


FRight : LongInt;

- Initialized to 0.

Full : Boolean;

- Initialized to 0.

FMax : LongInt;



Constructors


constructor Create(MaxValue: LongInt);


Functions


destructor Destroy;

Next


procedure Init(LeftEnd, RightEnd: LongInt);

Create


procedure Next;

Init


Properties


Events


Variables


FLeft : LongInt;


FRight : LongInt;

- Initialized to 0.


Full : Boolean;

- Initialized to 0.


FMax : LongInt;