2014/1/17 Hilaire Fernandes <hilaire.fernandes@gmail.com>
Le 17/01/2014 22:13, jannik.laval a �crit :
> You what is the Platform clipartsPath ?

It is something like
�FileSystem disk workingDirectory parent / 'Cliparts

> I am thinking that what you need is :
> FileSystem workingDirectory / 'fruits' / 'apples.png�

Yes but no, I want �'fruits' / 'apples.png� to be defined in another
methods like, in a clean way:

getApple
self getClipart: 'fruits' / 'apples.png�




--
Dr. Geo http://drgeo.eu



hi,

you can create a relative path with
Path class>>*

p:=Path * 'fruits'� / 'apples.png'.

If you want to create an absolute path or the full filename you need
a FileReference for that directory and call #resolve:
(for example wit hth current directory)
FileSystem workingDirectory resolve:p


regards

Nicolai Hess