Re: Unquoting a string
Re: Unquoting a string
- Subject: Re: Unquoting a string
- From: Emmanuel <email@hidden>
- Date: Tue, 16 Jul 2002 18:46:42 +0200
At 7:12 AM +0200 15/7/02, Robert Stretch wrote:
>
>
Thanks for all your help, the run script line worked perfectly and i'll
>
remember it for future projects. For this project however, I decided
>
that AppleScript has such limited maths capabilities that I would use C
>
and the 'bc' inbuilt unix program. I still use AppleScript to gather
>
all the information, and change 'plus' to '+' etc, but the actual
>
calculation is done in C and sent back to the AppleScript. If anybody
>
would like a look at the code, just tell me and i'll post it. Thanks
>
again! :,)
If speed is a concern, and if the computation involves variables, and if
you use OS X, you may want to consider the new "evalformula" Smile's
feature:
---------------------- untested
evalformula "sqrt(x*x+y*y)" with {x:3,y:4}
----------------------
--> 5.0
Emmanuel
_______________________________________________
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.