| Class TSub3Array (unit BuffSort) |
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;
procedure Init(LeftEnd, RightEnd: LongInt);
procedure Next;| Properties |
| Events |
| Variables |
FLeft : LongInt;
FRight : LongInt;
Full : Boolean;
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;