> On 22-Apr-07, at 3:35 PM, Theodore H. Smith wrote:
>
>>> First, aliases can be stored as strings, just like relative paths.
>>
>> Strings are strings. So there's no interconversion necessary.
>>
>>> Second, aliases can be made relative, just like relative paths.
>>
>> Relative paths are relative...
>>
>>> Third, this all depends on the platform.
>>
>> Unlike relative paths which don't.
>
> Relative paths only work as long as the root remains constant.
> Change that they break (try Windows shortcuts which break all the
> time if you move anything)

A windows shortcut isn't a relative path. A relative path is just a  
string.

And no, once again you are very wrong. Relative paths have NOTHING to  
do with the root. They are just relative. Relative to what? Well, it  
all depends. For most stuff they are relative to the "current  
directory". for example this "cd build/objects" that will work on any  
computer with Unix installed and that has the correct directory  
relative to the current directory.

But they can be relative to any directory. For example, you can often  
do stuff like this $SOMEPATH/rel/dir/file.xml in Unix, assuming the  
current paths are set up in environment variables.

I hope you've learnt something today.

--
http://elfdata.com/plugin/
"String processing, done right"


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to