On 2012-11-01, at 22:45, Stéphane Ducasse <[email protected]> wrote:

> 
> On Nov 1, 2012, at 10:42 PM, Camillo Bruni wrote:
> 
>> the separator depends on the current platform... so one or the other way
>> you'll have to go via an instance (repeating your statement :P).
>> 
>> what did you have in mind?
> 
> I was thinking aloud :)
> 
>> besides with FileReference you rarely have to use separator, unlike with
>> FileDirectory where you had to do tons of operations on path strings.
> 
> I was fixing my web generator and I do a lot of string concatenation :)

if you do filesystem stuff you don't need the separator...

        'foo' asFileReference / 'bar' / 'goo'

and 
        '/foo/bar/' asFileReference

will work regardless of the underlying filesystem unix/win/mac


Reply via email to