ChangePath:

--------------------------------------------------------------------------
   Change the path

   Since version 3.
--------------------------------------------------------------------------
   Form:
   currentPath = ChangePath( newPath )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   newPath       (1,:)   New path

   -------
   Outputs
   -------
   currentPath   (1,:)   Current path (before the change);     

--------------------------------------------------------------------------