Sign in Join
FPDoc Onlineexperiment

TPathDelimSwitch enumeration

In unit LazFileUtils

Represents the platform- or OS-specific path delimiters available in the Lazarus LCL.

Declaration

pascal
TPathDelimSwitch = (pdsNone,pdsSystem,pdsUnix,pdsWindows)

Description

TPathDelimSwitch is an enumerated type with values that indicate how path delimiters in file names are handled in routines like SwitchPathDelims, CheckPathDelim, and IsCurrentPathDelim. Values in the enumeration represent the various platform- or OS-specific path delimiters available in the Lazarus LCL.

Values

pdsNoneNo path delimiter changes were used.
pdsSystemPath delimiter is switched to the default path delimiter for the system.
pdsUnixPath delimiter is switched to the UNIX path delimiter (forward slash).
pdsWindowsPath delimiter is switched to the Windows path delimiter (Backslash '\').

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