Sign in Join
FPDoc Onlineexperiment

FileNameCaseSensitive constant

In unit System

OS treatment of filenames is case sensitive.

Declaration

pascal
FileNameCaseSensitive: Boolean = True

Description

FileNameCaseSensitive is True if case is important when using filenames on the current OS. In this case, the OS will treat files with different cased names as different files. Note that this may depend on the file system: Unix operating systems that access a DOS or Windows partition will have this constant set to true, but when writing to the DOS partition, the casing is ignored.

This constant is part of a set of constants that describe the OS characteristics. These constants should be used instead of hardcoding OS characteristics.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.