• 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: Dates gone wild
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dates gone wild


  • Subject: Re: Dates gone wild
  • From: Axel Luttgens <email@hidden>
  • Date: Wed, 10 Sep 2003 11:42:27 +0200

Emmanuel wrote:

At 12:15 AM +0200 9/10/03, Axel Luttgens wrote:


[...]

An AppleScript expression
Expr
is a reference (or more generally, involves reference(s)) if
and only if
Expr = contents of Expr
evaluates to false.

(counter-examples?)



-------------------
set x to a reference to x
set y to a reference to x
y = contents of y
-- true
-------------------


Damn!
Circular references!
I never thought about them for testing my (attempt of operational)
definition...

Your counter-example even simplifies as:

set x to a reference to x
x = contents of x
--> true

And yes, that's logical, as the equality operator would in that precise
case notice that its operands are of the same class and thus go further
with its investigations (and conclude here to the equality).

OK OK OK.
Let's thus amend the definition so as to speak about 'non-degenerate
references' instead of just 'references'.
Counter-examples?
;-)

Axel

PS: thanks for having thought about that case!
_______________________________________________
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: Dates gone wild (From: Nigel Garvey <email@hidden>)
 >Re: Dates gone wild (From: Doug McNutt <email@hidden>)
 >Re: Dates gone wild (From: Axel Luttgens <email@hidden>)
 >Re: Dates gone wild (From: Emmanuel <email@hidden>)

  • Prev by Date: Workaround for terminology conflicts
  • Next by Date: Re: Workaround for terminology conflicts
  • Previous by thread: Re: Dates gone wild
  • Next by thread: Re: Dates gone wild
  • Index(es):
    • Date
    • Thread