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

Re: Sum of list?


  • Subject: Re: Sum of list?
  • From: Christopher Stone <email@hidden>
  • Date: Mon, 28 Jun 2004 19:11:20 -0500

At 16:04 -0700 06/28/2004, John Mistler wrought:

Does anyone know of a way to get the SUM of integers in a list WITHOUT
having to use a repeat loop? I am trying to speed things up . . .

What about getting the AVERAGE of the integers in a list?

Hey John,

Check out the Satimage osax:

http://www.satimage.fr/software/en/downloads_osaxen.html


set aList to {1, 2, 3}

statlist aList

{
maximum:3.0,
maximum index:3,
minimum:1.0,
minimum index:1,
<<class SUM >>:6.0,
<<class MEAN>>:2.0,
<<class Sigm>>:0.666666666667,
<<class StDe>>:0.816496580928,
missing value:0
}


Chris
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


References: 
 >Sum of list? (From: John Mistler <email@hidden>)

  • Prev by Date: Sum of list?
  • Next by Date: Re: Automator in OS 10.4 (Tiger)
  • Previous by thread: Sum of list?
  • Next by thread: Re: Sum of list?
  • Index(es):
    • Date
    • Thread