Re: String to sum
Re: String to sum
- Subject: Re: String to sum
- From: Emmanuel <email@hidden>
- Date: Tue, 12 Oct 2004 19:55:30 +0200
At 5:22 PM +0100 10/12/04, Mr Tea wrote:
Is there a significant overhead or delay associated with 'run script...'?
Another solution would be to use the "evalformula" command of the
Satimage osax.
set the_formula to "4 + 5"
evalformula the_formula
--> 9.0
What is good with evalformula is that it supports variables:
evalformula "x+y" with {x:4, y:5}
which can be lists:
(evalformula "x+y" with {x:{4, 6}, y:{5, 7}}) as list of real
-- {9.0, 13.0}
Emmanuel
From Satimage-software, the cool people who make Satimage.osax for
free for you all.
_______________________________________________
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