Re: AppleScript 1.6 issues
Re: AppleScript 1.6 issues
- Subject: Re: AppleScript 1.6 issues
- From: John W Baxter <email@hidden>
- Date: Fri, 13 Apr 2001 21:29:43 -0700
At 17:43 -0700 4/13/01, Christopher Nebel wrote:
>
> I recently updated to AppleScript 1.6 and have noticed a few things
>
> don't
>
> work as before.
>
>
>
> *The data type short doesn't work. I can't coerce an integer into a
>
> short
>
> integer. eg:
>
> set y to 3
>
> set x to y as short
>
>
As far as I can tell, AppleScript has never defined the term "short",
>
though it does define "small integer", and that still works in
>
AppleScript 1.6. Might you have a scripting addition that went AWOL
>
during your upgrade?
I don't recall "short" as a bit of terminology, either. There is indeed an
underlying Apple Event Manager data type coded 'shor' which is a 16-bit
integer. The direct representation of that would be
<<class shor>>
which compiles to "small integer" as I expected it to based on Chris'
comments above. [I've never used it.]
In what context did you need a short?
--John
--
John Baxter email@hidden Port Ludlow, WA, USA