• 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: AppleScript bug with 15+ digits.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript bug with 15+ digits.


  • Subject: Re: AppleScript bug with 15+ digits.
  • From: Philippe GRUCHET <email@hidden>
  • Date: Wed, 2 Apr 2003 06:29:37 +0200

The following script does not compile ("syntax error"):
-------------------------
set x to 3.141592653589793
-------------------------
If I copy and paste that, when I compile and run it, everthing after "x" vanishes from the window, and do not get any answer. If I click on the line, the text reappears. if I delete the last digit, recompile, then retype the last digit, it compiles and runs.

Confirmed in Apple's SE 1.9, SE2, Smile 2.5.2.

Not in Smile.
Just "Syntax error. some object".

Ditto in Apple's SE 1.9.

Using Satimage osax (?), you could type:

format pi into "#.###############"
--> "3.141592653589793"

But it's always a string: is there a way to get it back as a number?
--> 3.141592653589793

TIA!


(?) Satimage osax at: <http://www.satimage-software.com>


Kind regards,
Philippe Gruchet/SVM Mac
VNU Publications France
http://svmmac.vnunet.fr
_______________________________________________
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.

  • Follow-Ups:
    • Re: AppleScript bug with 15+ digits.
      • From: Doug McNutt <email@hidden>
    • Re: AppleScript bug with 15+ digits.
      • From: Emmanuel <email@hidden>
  • Prev by Date: Austin, TX. Mac Programmers SIG meeting this weekend April 5th....
  • Next by Date: Re: Mail.app selection of front window
  • Previous by thread: Re: AppleScript bug with 15+ digits.
  • Next by thread: Re: AppleScript bug with 15+ digits.
  • Index(es):
    • Date
    • Thread