Re: Why is a-b not equal to ((source of a) -b) ?
Re: Why is a-b not equal to ((source of a) -b) ?
- Subject: Re: Why is a-b not equal to ((source of a) -b) ?
- From: Timothy Bates <email@hidden>
- Date: Fri, 06 Sep 2002 11:25:24 +1000
>
At 11:01 PM +0200 3/9/02, email@hidden wrote:
>
> The base cause of the behavior is that
>
> GetMilliSec -var1
>
> is being parsed as
>
> GetMilliSec of (-var1)
>
>
Using commands like if they were functions may be fairly misleading. For
>
instance (using the Satimage osax):
>
--------------
>
cos (a) + b
>
--------------
>
actually computes
>
--------------
>
cos (a + b)
>
--------------
I wonder if turning the tight-binding thingo on would help clear up a lot of
user's problem's with AS doing silly things that require us to put things
in parentheses, often prefixed by get, or even broken out onto a separate
"set placekeeper to x" line? It sounds like tight binding has the effect of
parentheses in stopping the compiler sending in things that are not wanted?
Tim
_______________________________________________
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.