Re: latitude & longitude
Re: latitude & longitude
- Subject: Re: latitude & longitude
- From: Paul Berkowitz <email@hidden>
- Date: Sat, 17 Jan 2004 23:15:31 -0800
On 1/17/04 10:11 PM, "ehsan saffari" <email@hidden> wrote:
>
I 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
>
>
SD's Manifest doesn't show anything. is Manifest supposed to show osax
>
defined classes as well events? need I report a bug?
If I remember correctly, osaxen are meant to implement only events; classes
are somehow faked (and are usually or always records - the result types of
events.) In any case latitude and longitude are properties of just such a
faked class. As you noticed, the class itself has no standing. (What does
SD's dictionary show for it in the "Apple Events" popup item? Standard
Additions' 'dialog reply' shows '(askr)' in parentheses; and <<class askr>>
compiles as 'dialog reply' a keyword. But Manifest can't find it either.)
Perhaps to SD its properties look like regular user-defined record labels,
although to AppleScript they look like keywords. Or Manifest just can't see
these osax classes, only events.
>
>
on further digging, they are both from AkuaSweets.
>
>
------------
>
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.
>
------------
--
Paul Berkowitz
_______________________________________________
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.