• 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: Process list of numbers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Process list of numbers


  • Subject: Re: Process list of numbers
  • From: Emmanuel <email@hidden>
  • Date: Thu, 7 Oct 2004 18:24:33 +0200

At 8:22 AM -0600 07/10/04, Gnarlodious wrote:

Is here a shortcut to getting the difference between each item in a list of numbers?

{60, 100, 1000, 768}
{30, 0, 1054, 768}

Or am I stuck with looping and operating on pairs?

You can use the "sublist" command of the Satimage.osax.

sublist {60, 100, 1000, 768} with {30, 0, 1054, 768}
  --  {30, 100, -54, 0}

Emmanuel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Process list of numbers (From: Gnarlodious <email@hidden>)

  • Prev by Date: Re: Process list of numbers
  • Next by Date: RE: Word length - resolved
  • Previous by thread: Re: Process list of numbers
  • Next by thread: RE: Word length - resolved
  • Index(es):
    • Date
    • Thread