Re: latitude & longitude
Re: latitude & longitude
- Subject: Re: latitude & longitude
- From: Gary Lists <email@hidden>
- Date: Sun, 18 Jan 2004 00:15:13 -0500
Paul Berkowitz wrote [01-17-04 7:17 PM]:
>
On 1/17/04 3:58 PM, "ehsan saffari" <email@hidden> wrote:
>
>
> Can anyone explain why 'latitude' and 'longitude' cannot be used as
>
> variable names? they get styled as application ketwords.
>
>
>
> OS 8.6
>
> AS 1.3.7
>
> SE 1.1.3 & SD 3.0.7
>
>
Not here they don't (OS 10.3.2). It must be some OSAX you have that I don't.
>
(I'd find it harder to believe that they'd be AppleScript constants removed
>
from OS X.)
>
>
Check all your scripting additions. Since you have Script Debugger, just
>
select "Manifest" in the File menu, and you'll see right away.
Since those terms compiled as application keywords for me as well, in OS9.1,
AS1.8.3, and I determined it was not related to the Map CP, and since Smile
could not find a definition for either 'latitude' or 'longitude'...I went
hunting.
On a whim, I checked several OSAX and ultimately found this to be a property
of a Geographic Location Record, used (and also returned) by the 'adjust the
clock' command of Akua Sweets (v1.4.3).
From that dictionary:
Class Geographic Location Rec : Why isn't this predefined?
Properties:
latitude integer -- A "Fract" value. To convert to degrees, see example
script.
longitude integer -- A "Fract" value. To convert to degrees, see example
script.
daylight savings boolean -- Is daylight savings time activated?
GMT delta integer -- The delta seconds to GMT time.
--
Gary
_______________________________________________
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.