vszakats wrote:
>
> 2010-02-04 12:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
> * utils/hbmk2/hbmk2.prg
> + Added hbmk2_PathMakeRelative(). The opposite of PathProc().
> Current form is not optimized and only moderately tested:
> hbmk2_PathMakeRelative( "", "" )
> hbmk2_PathMakeRelative( "", "hello.prg" )
> hbmk2_PathMakeRelative( "", "proj\hello.prg" )
> hbmk2_PathMakeRelative( "C:\this", "C:\this\that\proj\" )
> hbmk2_PathMakeRelative( "C:\this", "C:\this\that\proj\hello.prg" )
> hbmk2_PathMakeRelative( "C:\this", "C:\that\that\proj\hello.prg" )
> hbmk2_PathMakeRelative( "C:\this", "C:\that\that\proj\hello.prg",
> .T. )
> hbmk2_PathMakeRelative( "D:\this", "C:\that\that\proj\hello.prg" )
> hbmk2_PathMakeRelative( "C:\this\test",
> "C:\this\test\that\proj\hello.prg" )
> hbmk2_PathMakeRelative( "C:\this\test",
> "C:\that\that\proj\hello.prg" )
> hbmk2_PathMakeRelative( "C:\this\test",
> "C:\that\that\proj\hello.prg", .T. )
> hbmk2_PathMakeRelative( "D:\this\test",
> "C:\that\test\that\proj\hello.prg" )
>
Thank you.
It will resolve a lot of issues.
I will give it a deep try in this week.
-----
enjoy hbIDEing...
Pritpal Bedi
_a_student_of_software_analysis_&_design_
--
View this message in context:
http://n2.nabble.com/SF-net-SVN-harbour-project-13763-trunk-harbour-tp4513022p4513800.html
Sent from the harbour-devel mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour