Wind Chill
Wind Chill
- Subject: Wind Chill
- From: email@hidden
- Date: Fri, 1 Mar 2002 02:38:21 EST
Tell App Finder
Display dialog "Please enter the temp in degrees Fahrenheit" with default
answer "54" buttons {"OK","Cancel"} default button 1
set TheUserEntry to the text returned
-- insert a little error checking to make sure a number was entered and in
range here (-160 to +210)
set TheActualTemp to TheUserEntry as integer
set TheWindChill to 35.74 + (.6215 * TheActualTemp) -
_______________________________________________
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.