Re: Coercion question
Re: Coercion question
- Subject: Re: Coercion question
- From: "Serge Belleudy-d'Espinose" <email@hidden>
- Date: Fri, 15 Jun 2001 16:05:02 +0200
At 12:10 +0000 15/06/01, Hugh Dixon wrote:
>
Alternatively you could use info for:
>
>
if folder of (info for the_alias) is true then
>
>
display dialog "It's a folder"
>
>
else
>
>
display dialog "It's a file"
>
>
end if
'info for' always has the drawback of also returning the size of an item, which might take some unnecessary time to compute if the item is a populated folder.
(how long will it take for this answer to appear...)
Serge
--
\\//\//\// Serge Belleudy-d'Espinose Institut Jacques Monod
// // //
http://www.ijm.jussieu.fr/ Univ. Jussieu - Paris
//\//\//\\