Re: Applescript oddity under 10.4.11
Re: Applescript oddity under 10.4.11
- Subject: Re: Applescript oddity under 10.4.11
- From: Axel Luttgens <email@hidden>
- Date: Sat, 24 Apr 2010 22:50:48 +0200
Le 20 avr. 2010 à 17:21:28, Yvan KOENIG a écrit :
> Hello
>
> I would be glad to know if this instruction compile flawlessly on your 10.4.11 systems.
>
> set valeur to valeur * 0.423333320617684
>
> If I enter :
> set valeur to valeur * 4.23333320617684/10
> it compiles as :
> set valeur to valeur * 4.233333206177 / 10
>
> Here it fails with the message :
>
> "Erreur de syntaxe. un object quelconque"
>
> and the digits disappear.
>
> Under 10.6.3, the first instruction compiles as :
> set valeur to valeur * 0.423333320618
>
> The numerical value was copied from a Numbers cell.
>
> Happily, when it's grabbed by a script the grabbed value is 0.423333320618
> under both operating systems.
Hello Yvan,
A bit late perhaps...
I knew this had already discussed on this list, but when? ;-)
So, for example:
http://lists.apple.com/archives/applescript-users/2005/Aug/msg00343.html
with Emmanuel's post being a nice one. :-)
As you already stated it, as well as others, this was more an AppleScript Editor's problem with storing/displaying numerical constants than handling numerical values during a script's execution.
As a result, you shouldn't be concerned wrt your 10.4.11 system, there's just a "well known problem" that seems to have been corrected with Snow Leopard.
HTH,
Axel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden