• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Coercion question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
//\//\//\\


References: 
 >Re: Coercion question (From: Hugh Dixon <email@hidden>)

  • Prev by Date: Re: Eliminating items from a MS Word list
  • Next by Date: Re: Coercion question
  • Previous by thread: Re: Coercion question
  • Next by thread: Re: Coercion question
  • Index(es):
    • Date
    • Thread