Relative path parser

FlexibleLearning at aol.com FlexibleLearning at aol.com
Mon Aug 13 15:48:30 EDT 2007


Before I reinvent the wheel, as anyone written a  relative path parser or 
know where I might find one? (I've written a simple  'hard-wired' relative path 
parser, but it's not comprehensive and would  certainly not correctly handle 
complex paths)  

e.g. Given the effective filePath of the current stack, a parser that can  
convert these to absolute paths:
 
../../dox/myDoc.txt
.././grcs/myGrc.png
./mymovie.mov
../mymovie.mov
imgs/./local/myImg.jpg
 
 
/H



   



More information about the use-livecode mailing list