Re: AppleScript bug with 15+ digits.
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.