• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: What is this?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is this?


  • Subject: Re: What is this?
  • From: Nigel Garvey <email@hidden>
  • Date: Sun, 27 Feb 2005 23:53:00 +0000

deivy petrescu wrote on Sat, 26 Feb 2005 22:18:32 -0500:

>On Feb 26, 2005, at 21:40, Doug McNutt wrote:
>
>> At 16:07 -0500 2/26/05, deivy petrescu wrote:
>>> return {zpow, AppleScript's text item delimiters, x as string}
>>> --->{3.08055323620131E-306, "", "9"}
>>
>> I'm betting that AppleScript is pointing to a 32 bit integer where the
>> 9 is stored and whatever 32 bit word happens to follow. The 64 bit
>> concatenation is being treated as a float.
>>
>
>I do not know what is happening here. I believe there are leakages
>going on.
>First time I run the script, my number was published. (1)
>I quit SE and a bunch of other processes, restarted SE and run the same
>script. Got different number. Consistent but different.(2)
>Quit SE, and only SE, and restarted SE run the same script got the same
>numer as (2) above. (3)

I get a different but consistent number in Jaguar, a different number
every time in OS 9.2.2, but the expected error in OS 8.6. It seems to be
something to do with coercions and the fact that '(text item 2 of "9")'
is a reference. If you multiply it by 1 rather than 1 by it, the expected
error occurs on all three systems.

NG
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: What is this?
      • From: deivy petrescu <email@hidden>
  • Prev by Date: Re: *Very* strange script / global variable behavior
  • Next by Date: Re: Called script won't store property
  • Previous by thread: Re: What is this?
  • Next by thread: Re: What is this?
  • Index(es):
    • Date
    • Thread