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

FileNameCmp (CIN Macro)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

int32 FileNameCmp(s1, s2);

Purpose

Lexically compares two filenames to determine whether one is less than, equal to, or greater than the other. This comparison uses the same case sensitivity as the file system, that is, case-insensitive on Mac OS and Windows, case-sensitive on Linux.

Parameters

Name Type Description
s1 PStr Pointer to a Pascal string.
s2 PStr Pointer to a Pascal string.

Return Value

<0, 0, or >0 if s1 is less than, equal to, or greater than s2, respectively. Returns <0 if s1 is an initial substring of s2.


Resources


 

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