• 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: deivy petrescu <email@hidden>
  • Date: 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)


This (3) seems to suggest that there is something going on in terms of memory.

But there seems to be a major problem in coercions.
If you try to coerce the error to a number (I do not really know how to put this!), using an operation it gets on with the coercion, the error becoming a number. If you use "as number" it errors as expected.






deivy
--------------------------------------------
Agora quem da bola é o Santos,
Salve o novo campeão!

_______________________________________________
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


References: 
 >What is this? (From: deivy petrescu <email@hidden>)
 >Re: What is this? (From: Doug McNutt <email@hidden>)

  • Prev by Date: Re: RegExps in AS
  • Next by Date: POSIX path don't work - why? any tipp?
  • Previous by thread: Re: What is this?
  • Next by thread: Re: What is this?
  • Index(es):
    • Date
    • Thread