• 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: Why is a-b not equal to ((source of a) -b) ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Why is a-b not equal to ((source of a) -b) ?
      • From: bill fancher <email@hidden>
References: 
 >Re: Why is a-b not equal to ((source of a) -b) ? (From: email@hidden)

  • Prev by Date: Re: Script Menu Bug
  • Next by Date: Re: URL Access Scripting-Form Data
  • Previous by thread: Re: Why is a-b not equal to ((source of a) -b) ?
  • Next by thread: Re: Why is a-b not equal to ((source of a) -b) ?
  • Index(es):
    • Date
    • Thread