AnsiCompareFileName function
Compare 2 filenames.
Declaration
function AnsiCompareFileName(const S1: string; const S2: string)
: SizeIntDescription
AnsiCompareFileName compares 2 filenames
S1 and
S2, and returns
- < 0
- if
S1<S2. - = 0
- if
S1=S2. - > 0
- if
S1>S2.
The function actually checks FileNameCaseSensitive and returns
the result of AnsiCompareStr or AnsiCompareText
depending on whether FileNameCaseSensitive is True or
False
Errors
None.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
