Re: Path separators...final
- Posted by don cole <doncole at pacbell.net> Apr 15, 2006
- 472 views
Hello Al, To start with I made a mistake. It should have been:
constant symbal={"`","*","~","@","&"} ------------this would be a function returing newPath sequence newPath newPath=repeat({},2)
if findAccent then for x=2 to length(symbal) do tt=testForSymbal[x] if tt=0 then newPath[1]= "`" & replaceAccentsWithSymbal(x) & "`" newPath[2]= symbal[x]this is the symbal used to replace the non
I 'think' i know what you are saying now, but one question i
have is...how do you know which 'accents' to replace, for example
in this line:
'c:\mydir\my'file.exe' How did the two end accents get in there at this point?
I thought about using the first char (ie the ' here) as delimiter,
which would allow different delims for different lines too, but
i want the UI to accept the non-delimiter form too like this:
c:\mydir\my'file.exe
This would come out 'c:\mydir\my*file.exe'
Don Cole }}}