Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mad Calculator



in Applescript studio 9 ^ 0.5 = 3 (Japanese environment)
Just try the example as below.

You will find another mistake around your script.

GIF image


-- Takaaki Naganoya Piyomaru Software http://piyo.piyocast.com email@hidden


On 2007/02/10, at 6:39, Peter Baxter wrote:

Hi people,

One of my tasks as a teacher is to teach maths to students around 13 years old. To make life more interesting, we make a calculator using Applescript Studio. Usually we have no difficulty with addition and subtraction and the other simple calculations and the students love using it for their class-work. However one student. David decided to include other calculations on his calculator. One of these is confusing me.
In script editor 9 ^ 0.5 =3
in Applescript studio 9 ^ 0.5 = 1


if the name of theObject is "squareRoot" then
set contents of text field "txtWholeEquation" of window "Calculator" to "(" & theseitems & ")" & " ^ 0.5"
set contents of text field "txtDisplay" of window "Calculator" to contents of text field "txtWholeEquation" of window "Calculator"


What is he doing wrong?


Peter Baxter email@hidden


iChat email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list (Applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/maro%40b- mark.nu


This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden

References: 
 >Mad Calculator (From: Peter Baxter <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.