ForcePathDelims procedure
Ensures that path delimiters in the specified file name are correct for the current platform or OS.
Declaration
procedure ForcePathDelims(var FileName: string)Arguments
FileName | File name examined in the routine. |
Description
ForcePathDelims is a procedure used to ensure that path delimiters
in the specified file name are correct for the current platform or OS.
ForcePathDelims examines each character in
FileName to ensure that
path delimiters use the correct notation for the platform or OS defined in
the LCL.
For Windows, this means any UNIX path delimiters (/) in FileName are converted into the Windows path delimiter (\). Conversely, for all other platforms and environments, the Windows path delimiter (\) is converted to the UNIX notation (/). All path delimiter substitutions in FileName occur inline.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
