[GOODIE] Chicken Run

Bert Freudenberg bert at isg.cs.uni-magdeburg.de
Fri Oct 20 15:56:37 UTC 2000


On Fri, 20 Oct 2000, Bob Arning wrote:

> On Fri, 20 Oct 2000 17:36:17 +0200 (CEST) Bert Freudenberg <bert at isg.cs.uni-magdeburg.de> wrote:
> >Just curious: would this work, too?
> >
> >	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? ;)

-- Bert





More information about the Squeak-dev mailing list