Re: what does this error mean?
Re: what does this error mean?
- Subject: Re: what does this error mean?
- From: Axel Luttgens <email@hidden>
- Date: Thu, 15 Jul 2010 16:41:12 +0200
Le 15 juil. 2010 à 05:57:40, email@hidden a écrit :
> I don't think 'set the end of' works with records
>
> Try this:
>
>
>
> on listTDL()
> if (count of recList) is 0 then ¬
> initRecList()
> set tdl to {}
> set n to 0
> repeat with rec in recList
> set n to n + 1
> if not rec's deleted then ¬
> set tdl to tdl & (rec's toList(n))
> -- log item -1 of tdl
> end repeat
> return tdl
> end listTDL
Hmmm... not sure.
Variable "tdl" is initialized with an empty list; on the other hand, I would be tempted to guess that the toList() handler is intended to return a list.
As a result, Tom's original code should end with variable "tdl" containing a list of lists.
Axel
_______________________________________________
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