Re: Can someone explain this?
Re: Can someone explain this?
- Subject: Re: Can someone explain this?
- From: Philip Aker <email@hidden>
- Date: Sat, 14 Mar 2009 08:42:39 -0700
On 2009-03-14, at 08:02:10, Deivy Marck Petrescu wrote:
set myList to {"a", "b", "c", pi as text, "finished"}
items 2 thru the end of myList
Philip (and Michelle)
I do not know if this is a bug!
Well Deivy,
I think it's a matter of logical expectations. In the situation, I
expect, as does Michelle, that the inclusion of the word 'the' is
optional and it's presence or absence shouldn't affect the resolution
of the expression. Clearly, in the example provided, it does.
Therefore, it's a bug.
I believe this is a matter of priorities
items 2 thru the end of myList
gets compiled as
items 2 thru "finished" (actually end of {"a", "b", "c", pi as
text, "finished"})
try
items 2 thru (get the end of myList )
and you will get a similar error.
It is the same as saying that in AS
-3^2
--> 9.0
is a bug.
It is not, they have decided that the unary - is not a
multiplication by -1.
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
Democracy: Two wolves and a sheep voting on lunch.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden