help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: filesep on Windows


From: Michael Goffioul
Subject: Re: filesep on Windows
Date: Thu, 25 Oct 2007 09:58:52 +0200

On 10/24/07, Brennwald Matthias (bwm) <address@hidden> wrote:
> I feel that mixing different fileseps is not a great idea. I believe
> that fileseps should be harmonized somehow. I think it would be natural
> if the user could specify paths using both '/' and '\' (so that both
> addpath('path/to/my/file') and addpath('path\to\my\file') would work on
> all platforms), and that Octave functions always return paths using only
> the filesep of the platform it is running on (as returned by the filesep
> function). Is that a good idea? How is the competition (aka Matlab)
> doing it?

It seems it converts paths for you. Under windows If you add a path
containing forward slashes, it is stored with / replaced by \.

Michael.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]