Previous: 4.66.2.33. StrCat function To the Table of Contents Next: 4.66.2.35. StrCopy function
4.66.2.33. StrCat function Table of Contents 4.66.2.35. StrCopy function

- 4.66.2.34. -
Table of Contents
4. Standard Units
4.66. Strings - Large string manipulation unit
4.66.2. Strings Unit Procedures and Functions
4.66.2.34. StrComp function


4.66.2.34. 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: 4.66.2.33. StrCat function To the Table of Contents Next: 4.66.2.35. StrCopy function
4.66.2.33. StrCat function Table of Contents 4.66.2.35. StrCopy function

- 4.66.2.34. -