{**************************************************************************** Copyright (c) 1993,94 by Florian Kl„mpfl Translated by Eric Molitor (emolitor@freenet.fsu.edu) ****************************************************************************} { Demonstration Program in FPKPascal } const max = 1000; type tlist = array[1..max] of integer; var data : tlist; procedure qsort(var a : tlist); procedure sort(l,r: integer); var i,j,x,y: integer; begin i:=l; j:=r; x:=a[(l+r) div 2]; repeat while a[i]j) then begin y:=a[i]; a[i]:=a[j]; a[j]:=y; i:=i+1; j:=j-1; end; until i>j; if l