Re: Sum of list?
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>) |