Re: simple math equations
Re: simple math equations
- Subject: Re: simple math equations
- From: "Arthur J Knapp" <email@hidden>
- Date: Thu, 01 Mar 2001 11:04:03 -0500
>
Subject: Re: simple math equations
>
From: Paul Berkowitz <email@hidden>
>
On 2/28/01 7:53 PM, "email@hidden" <email@hidden> wrote:
>
> how can i add and subtract simple integers?
>
> 200+400
>
> 1940+60
>
Just like that.
>
200+400
>
--compiles to:
>
200 + 400
>
-- 600
>
So what's your problem? Was it really easier to write the list than to try
>
it out?
Perhaps he is looking for an interface, like an AppleScript calculater:
repeat
display dialog "Please enter an expression" default answer ""
-- any simple AppleScript expression:
--
set exp to text returned of result
set val to run script exp
display dialog "The Answer:" default answer val
end repeat
Note: You "quit" the script be pressing "Cancel".
Arthur J. Knapp
http://www.stellarvisions.com
mailto:email@hidden
Hey, check out:
http://www.AppleScriptSourceBook.com