[Lazarus] Directory separator character / or \ for file path differences between Linux, Mac and Windows, etc
zilvinas.ledas at dict.lt
Tue Dec 28 21:44:32 CET 2010
On 2010-12-28 22:30, Peter E Williams wrote:
> Three: Is the a cross-platform function (or procedure) for correcting
> the file path separator character? I believe that there is one.
const DirectorySeparator = '/';
DirectorySeparator is the character used by the current operating system
to separate directory parts in a pathname. This constant is system
dependent, and should not be set.
This constant is part of a set of constants that describe the OS
characteristics. These constants should be used instead of hardcoding OS
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus