• 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: String to sum
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: String to sum (From: Mr Tea <email@hidden>)

  • Prev by Date: Re: String to sum
  • Next by Date: Get Item Number of List Item Choice?
  • Previous by thread: Re: String to sum
  • Next by thread: Re: String to sum
  • Index(es):
    • Date
    • Thread