• 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: Filtering Out Missing Value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Filtering Out Missing Value


  • Subject: Re: Filtering Out Missing Value
  • From: Shane Stanley <email@hidden>
  • Date: Wed, 23 May 2012 10:43:39 +1000

On 23/05/2012, at 10:19 AM, Christopher Stone wrote:

> Is there an easy way to filter out missing value from the results of these in BBEdit?

If all the items that aren't missing value are of the same class, you can do it simply like this:

set x to {1, 2, 3, missing value, 4, missing value}
integers of x
--> {1, 2, 3, 4}

--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Filtering Out Missing Value
      • From: Christopher Stone <email@hidden>
References: 
 >Filtering Out Missing Value (From: Christopher Stone <email@hidden>)

  • Prev by Date: Filtering Out Missing Value
  • Next by Date: Re: Filtering Out Missing Value
  • Previous by thread: Filtering Out Missing Value
  • Next by thread: Re: Filtering Out Missing Value
  • Index(es):
    • Date
    • Thread