[Q][Smalltalk][Bug?] Assuring the existence of a path

Hannes Hirzel hirzel at spw.unizh.ch
Fri Mar 15 13:36:52 UTC 2002


Hi 

I have the following problem

I like to access a directory which is a neighbour of the directory
    FileDirectory default

while at the same time making sure that it exists:

I use

   upperDir _ FileDirectory default containingDirectory.
   delim _  FileDirectory pathNameDelimiter asString.
   upperDir assureExistenceOfPath: (upperDir pathName, delim, 'cmaps' ,
   delim , 'smtk').


What am I missing? Or is this a bug?


Cheers
Hannes Hirzel




More information about the Squeak-dev mailing list