2
$Id: qsort.pp,v 1.1 2000/07/13 06:30:20 michael Exp $
3
This file is part of the Free Pascal run time library.
4
Copyright (c) 1993-98 by the Free Pascal Development Team
8
See the file COPYING.FPC, included in this distribution,
9
for details about the copyright.
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15
**********************************************************************}
22
tlist = array[1..max] of longint;
28
procedure qsort(var a : tlist);
30
procedure sort(l,r: longint);
64
write('Creating ',Max,' random numbers between 1 and 500000');
67
data[i]:=random(500000);
69
writeln('Sorting...');
81
Revision 1.1 2000/07/13 06:30:20 michael
84
Revision 1.1 2000/03/09 02:49:09 alex
87
Revision 1.2 1998/09/11 10:55:26 peter