Re: problem with list
Re: problem with list
- Subject: Re: problem with list
- From: "Mark J. Reed" <email@hidden>
- Date: Thu, 18 Nov 2010 21:00:49 -0500
On Thu, Nov 18, 2010 at 8:00 PM, tom wible <email@hidden> wrote:
>
> On Nov 18, 2010, at 11:23 AM, Mark J. Reed wrote:
>
>> So, the error is coming from the toList() handler defined in your
>> script object, which you neglected to include in your email. But it
>
> why do u say that? there are 2 refs to rec in the loop thru each element of
> recList...
There's only one line where you log an error message that looks like
the one you're reporting, and it's right after you call toList().
>> sounds like something inside that handler is referring to the variable
>> "rec", which doesn't exist there.
>
> nope:
>
> on toString()
> set ts to my cmd & " @ " & my fmtSchedDateTime()
> if (my dateIsSkipped) then ¬
> set ts to ts & tab & SKIP_DATE &
> fmtshortdate(datetime)
> if not (my delaySecs = 0) then ¬
> set ts to ts & tab & DELAY_BY & my
> minutesDelay()
> return ts as string
> end toString
That's toString(). The handler in question is toList().
--
Mark J. Reed <email@hidden>
_______________________________________________
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