Could someone tell me the way forward and backward slashes are handled easily? For…
L505 wrote 7 lines
Path:=ExtractFileDir(ParamStr(0)+PathDelim+'SomePath'+PatHDelim+'Directory'+PatHDelim+'etc'+PathDelim;Is cross platform, or
Path:=ExtractFileDir(SetDirSeparators(paramstr(0)+'\somepath\directory\etc\'));DoDirSeparators is the same as SetDirSeparators, but operates on a var param.
All these functions are in sysutils, and are documented.
Michael.
