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

SameFileName

Are two filenames referring to the same file ?

Declaration

Source position: finah.inc line 41

function SameFileName(

  const S1: String;

  const S2: String

):Boolean;

Description

SameFileName returns True if calling AnsiCompareFileName with arguments S1 and S2 returns 0, and returns False otherwise.

Errors

None.

See also

AnsiCompareFileName

  

Compare 2 filenames.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.