Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

CPStrCmp (CIN Function)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

int32 CPStrCmp(s1p, s2p);

Purpose

Lexically compares two concatenated lists of Pascal strings to determine whether one is less than, equal to, or greater than the other. This comparison is case sensitive. The function compares the lists as if they were one string.

Parameters

Name Type Description
s1p CPStrPtr Pointer to a concatenated list of Pascal strings.
s2p CPStrPtr Pointer to a concatenated list of Pascal strings.

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.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit