• 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
What is this?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What is this?


  • Subject: What is this?
  • From: deivy petrescu <email@hidden>
  • Date: Sat, 26 Feb 2005 16:07:55 -0500

I found it very interesting but not explainable...

<script>
set x to 9
set {astid, AppleScript's text item delimiters} to {AppleScript's text item delimiters, "E"}
set zpow to 1 * (text item 2 of (x as text))
set AppleScript's text item delimiters to astid


return {zpow, AppleScript's text item delimiters, x as string}
--->{3.08055323620131E-306, "", "9"}
</script>

By the way, one can change 9 by any other number, the value for zpower is always around the same order of maginitude.
I checked the script above in two different computers.



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
  • Follow-Ups:
    • Re: What is this?
      • From: Doug McNutt <email@hidden>
    • Re: What is this?
      • From: Emmanuel <email@hidden>
  • Prev by Date: Re: do shell scripting a "Find"
  • Next by Date: Converting 'file:/' URL to MacOS path name...
  • Previous by thread: Re: do shell scripting a "Find"
  • Next by thread: Re: What is this?
  • Index(es):
    • Date
    • Thread