Re: Dates gone wild
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.