Sign in Join
FPDoc Onlineexperiment

PathDelimSwitchToDelim constant

In unit LazFileUtils

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

Declaration

pascal
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

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.