home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programming
/
powerprogramming1994.iso
/
progtool
/
pibterm
/
pibt41s1.arc
/
CMPSTR.MOD
< prev
next >
Wrap
Text File
|
1987-12-02
|
255b
|
12 lines
FUNCTION CompareStr( VAR S1, S2 : AnyStr ) : Comparer;
BEGIN (* CompareStr *)
IF ( S1 = S2 ) THEN
CompareStr := Equal
ELSE IF ( S1 < S2 ) THEN
CompareStr := Less
ELSE
CompareStr := Greater;
END (* CompareStr *);