Hi
This is really 4 questions:
One: Since Windows users the '\' (backslash) character and Linux uses the '/' (foreslash) character in file paths, have I got those the right way around?
Two: What do Macs use for directory path separator character?
Three: Is the a cross-platform function (or procedure) for correcting the file path separator character? I believe that there is one.
e.g. c:\Program Files\Fred's software\data (folder) >>> c:/Program Files/Fred's software/data (folder)
Yes, I am well aware the c:\Program Files\ does usually exist on Linux systems. Actually, if it does exist it will be:
~/Home/.wine/drive_c/ (folder) with Wine installed.
So, it would become ~/Home/.wine/drive_c/Program Files/Fred's software/data/ (folder)
Four: Is the a compiler directive (cross-platform) or other way of detecting the OS of the user's system?
pew
Fond Regards, Peter Eric WILLIAMS
--- Hobart, Tasmania, Australia
--- Phone: +61 (03) 6236-9675
My free websites are: http://pewink.info (&)
http://pewslinuxvault.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20101229/1bbc9db6/attachment.html>
