PPStrCmp (LabVIEW Manager Function)
- Mise à jour2025-07-30
- Temps de lecture : 1 minute(s)
int32 PPStrCmp(s1p, s2p);
Purpose
Lexically compares two Pascal strings and determines whether one is less than, equal to, or greater than the other. This comparison is case sensitive. This function is similar to PStrCmp, except you pass the function handles to the string data instead of pointers.
Parameters
| Name | Type | Description |
|---|---|---|
| s1p | PStr * | Pointer to a Pascal string. |
| s2p | PStr * | Pointer to a Pascal string. |
Return Value
<0, 0, or >0 if s1p is less than, equal to, or greater than s2p, respectively. Returns <0 if s1p is an initial substring of s2p.