help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'sysutils' (#rtl)

AnsiCompareFileName

Compare 2 filenames.

Declaration

Source position: sysansih.inc line 21

function AnsiCompareFileName(

  const S1: String;

  const S2: String

):SizeInt;

Description

AnsiCompareFileName compares 2 filenames S1 and S2, and returns

< 0
if S1S2.
= 0
if S1=S2.
> 0
if S1S2.

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

AnsiCompareStr

  

Compare 2 ansistrings, case sensitive, ignoring accents characters.

AnsiCompareText

  

Compare 2 ansistrings, case insensitive, ignoring accents characters.

AnsiLowerCaseFileName

  

Convert filename to lowercase.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505