Re: Does it presume too much [was Parent path]
Re: Does it presume too much [was Parent path]
- Subject: Re: Does it presume too much [was Parent path]
- From: Emmanuel <email@hidden>
- Date: Sun, 3 Dec 2000 19:37:58 +0100
At 4:58 +0100 3/12/00, SemiColon wrote:
>
The routine works fine, Am I making too much of a presumption with
>
the "on error?"
>
[snip]
>
try
>
set ItmsparentPath to "" & text items 1 thru -3 of (f as string)
>
& ":"
>
beep
>
on error
>
set ItmsparentPath to f as string
>
end try
>
[snip]
I have not tested this code, but I suppose that when you run the routine for:
"Macintosh HD:Internet:"
it returns "Macintosh HD:"
and if you run it for:
"Macintosh HD:"
it returns "Macintosh HD:" as well. Is this what you want ...
Best regards,
Emmanuel