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

IsCurrentPathDelim

Determines if the current path delimiter matches the specified path delimiter notation.

Declaration

Source position: lazfileutils.pas line 99

function IsCurrentPathDelim(

  Switch: TPathDelimSwitch

):Boolean;

Arguments

Switch

  

Enumeration value specifying the character compared to the current path delimiter.

Function result

Boolean result of the path delimiter comparison.

Description

IsCurrentPathDelim is a Boolean function used to determine if the path delimiter notation specified in Switch matches the current path delimiter for the system.

Switch is a TPathDelimSwitch enumeration value that indicates the notation to compare to the current path delimiter on the system running the application. Switch can include the following values:

pdsNone
No comparison is performed since it is not required. Return value is set True.
pdsSystem
No comparison is performed since it will always match the current path delimiter for the system. Return value is set True.
pdsUnix
Return value is set to True when PathDelim contains the UNIX forward slash (/) character.
pdsWindows
Return value is set to True when PathDelim contains the Windows backslash (\) character.

Version 3.2 Generated 2024-02-25 Home