[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Ensures that path delimiters in the specified file name are correct for the current platform or OS.
Source position: lazfileutils.pas line 92
procedure ForcePathDelims( |
var FileName: string |
); |
FileName |
|
File name examined in the routine. |
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.
Version 3.2 | Generated 2024-02-25 | Home |