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: Jon Pugh <email@hidden>
- Date: Wed, 4 Sep 2002 21:16:45 -0700
At 10:53 AM -0400 9/4/02, email@hidden wrote:
>
1. "Direct object" has a higher precedence than subtraction. So,
>
>
osaxCommand - 5
>
>
parses as osaxCommand( -5 ), and not as (osaxCommand()) - 5
I think there's a bit in the osaxCommand's aete entry that controls the binding on the command. Yes, here it is in AEUserTermTypes.r:
boolean notTightBindingFunction, /* if the message has tight */
tightBindingFunction; /* binding precedence */
I think this is what "current date" uses to keep it from grabbing a direct parameter.
Jon
_______________________________________________
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.