• 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: 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.

References: 
 >Re: Why is a-b not equal to ((source of a) -b) ? (From: Emmanuel <email@hidden>)

  • Prev by Date: [Off-ish] Can't we just be friends?
  • Next by Date: Re: [Off-ish] Can't we just be friends?
  • 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