[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'FileUtil' (#lcl)

AppendPathDelim

Appends the path delimeter to the path.

Declaration

Source position: fileutil.pas line 86

function AppendPathDelim(

  const Path: String

):String;

Arguments

Path

  

Path - name for checking

Function result

Returns a new path name including delimiter, if it was not already there, otherwise returns original pathname

Description

AppendPathDelim checks if the last character in the path is the path delimeter. If it isn't the path delimeter, it is added, otherwise the unmodified path is returned.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.