[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'LazFileUtils' (#lazutils)

PathDelimSwitchToDelim

Constant array with characters used as path delimiters for supported platforms and OS's.

Declaration

Source position: lazfileutils.pas line 84

const PathDelimSwitchToDelim: array [TPathDelimSwitch] of Char = (PathDelim, PathDelim, '/', '\');

Description

PathDelimSwitchToDelim is an array constant with character values for path delimiters associated with TPathDelimSwitch enumeration values. The DirectorySeparator value is used for both pdsNone and pdsSystem enumeration values. For UNIX-like environments (pdsUnix), the Forward slash character ('/' ) is used for the path delimiter. For Windows platforms (pdsWindows) the backslash character ('\') is used for the path delimiter.

See also

TPathDelimSwitch

  

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

SwitchPathDelims

  

Replaces path delimiters in a file path with the specified delimiter.

DirectorySeparator


Version 3.2 Generated 2024-02-25 Home