Previous: StrCat function To the Table of Content Next: StrCopy function

- 4.61.2.34 -
Standard Units
Strings Unit
Strings Unit Procedures and Functions

StrComp function

Targets: MS-DOS, OS/2, Win32


Strings Unit

StrComp compares S1 to S2.

Declaration:
function StrComp(S1, S2 : PWChar): Longint;
function StrComp(S1, S2 : PChar): Longint;
Remarks:
The return value is:
 Condition  Return Value 
S1 > S2> 0
S1 < S2< 0
S1 = S2 = 0



Previous: StrCat function To the Table of Content Next: StrCopy function
StrCat function Table of Content StrCopy function

- 4.61.2.34 -