[GOODIE] Chicken Run

Michael Rueger m.rueger at acm.org
Fri Oct 20 16:05:46 UTC 2000



> > >     imageDir := FileDirectory default
> > >             directoryNamed: 'chicken', FileDirectory slash , 'images'.
> >
> > No, but this does:
> >
> > FileDirectory default
> >               directoryNamed: FileDirectory slash,'chicken', FileDirectory slash , 'images'.
> 
> Uh, that's odd. I'd even say that's a bug. If
>         FileDirectory default directoryNamed: 'chicken'
> works, without a leading slash, my code above should work too.
> On Unix, your code will produce an absolute path to '/chicken/image'. So
> who's wrong? ;)

There seem to be two bugs here. Unix shouldn't produce an absolute path,
but the slash notation should work on the mac too (assuming "slash"
means "directory separator").


Michael


-- 
 "To improve is to change, to be perfect is to change often." 
                                            Winston Churchill
+------------------------------------------------------------+
| Michael Rueger    m.rueger at acm.org      ++1 (310) 937 7196 |
+------------------------------------------------------------+





More information about the Squeak-dev mailing list