Pascal Scripting: PathSame

Prototype:

function PathSame(const S1, S2: String): Boolean;

Description:

Returns True if the specified strings (typically filenames) are equal. Uses a locale-independent "ordinal" comparison, which is important when comparing filenames/paths. Ignores case.