• 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: simple math equations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: [OFF] Re: Records
  • Next by Date: Re: Arthur Knapp not being recognized by script object
  • Previous by thread: Re: Subject title censorship
  • Next by thread: Re: simple math equations
  • Index(es):
    • Date
    • Thread