SORT-MERGE/XL Programmer's Guide (32650-90884)

Chapter 2 31
Creating Core Routines That Sort and Merge
Ending Sorting or Merging
Ending Sorting or Merging
You end the sorting or merging process with HPSORTEND or HPMERGEEND.
The syntax for HPSORTEND and HPMERGEEND is:
HPSORTEND (
status, statistics
);
HPMERGEEND (
status, statistics
);
The part of the core routine example at the end of the chapter that uses the HPSORTEND
intrinsic follows.
var
status : INTEGER
.
.
.
HPSORTEND (Status, );