Re: getting a file list in sorted order
Re: getting a file list in sorted order
- Subject: Re: getting a file list in sorted order
- From: John W Baxter <email@hidden>
- Date: Mon, 19 Aug 2002 18:54:22 -0700
At 19:29 +1200 8/19/2002, Andy Wylie wrote:
>
but shrinking the list and picking off item 1 is considerably faster yet...
...
>
set aliasList's end to (_List's item 1 as alias)
>
set _List to _List's items 2 thru its item -1
...
I haven't timed it, but I suspect that using
set _List to the rest of _List
is at least as fast as if not faster than the second line above. (OK, so
"rest" is an unusual way to spell cdr ;-))
I think "rest of <list>" appeared sometime after 1993, though, so if you
ship your scripts back through time machines... .
--John
--
John Baxter Port Ludlow, WA USA
AppleScript error: Can't get middle false of. (-1728)
_______________________________________________
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.