home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Actual 15
/
CDACTUAL15.iso
/
cdactual
/
program
/
pascal
/
NRPAS13.ZIP
/
RANK.PAS
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Pascal/Delphi Source File
|
1991-04-29
|
298 b
|
13 lines
PROCEDURE rank(n: integer; indx: gliarray; VAR irank: gliarray);
(* Programs using routine RANK must define type
TYPE
gliarray = ARRAY [1..np] OF real;
in the main routine, with np >= n. *)
VAR
j: integer;
BEGIN
FOR j := 1 TO n DO BEGIN
irank[indx[j]] := j
END
END;