Mailing Lists: Apple Mailing Lists

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

Mad Calculator



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




 _______________________________________________
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



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.