[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] platform neutral path concatenation
> BTW why is scDir and path related stuff in string
> instead of path name?
The info comes from a string primitive, so an instance method at least has
to be in String:
getSCDir {
_String_GetResourceDirPath
^this.primitiveFailed
}
This is a lousy interface, so I added a class method:
*scDir {
^"".getSCDir
}
I suppose there's no reason not to add a method to PathName as well:
*scDir {
^super.new.init(String.scDir)
}