last does not work with filter expression?
last does not work with filter expression?
- Subject: last does not work with filter expression?
- From: Michael Johnston <email@hidden>
- Date: Sat, 5 Feb 2005 01:40:49 +0100
I found the following oddity. I'm not sure whether it belongs to
OmniOutliner, Applescript, or my own faulty understanding of
Applescript*.
say I have a row with two children, row1 & row2, both with style "bob"
then I get the following results
last row of theRow
-- row2
set theList to every row of theRow where name of named style 1 of style
of it = "bob"
last item of theList
-- row2
last row of theRow where name of named style 1 of style of it = "bob"
-- row1 //WHY?
* After writing perhaps 30-40 thousand lines of Applescript by now, it
still frustrates me as if I was brand new to it.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden