• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: problem with list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: problem with list
      • From: tom wible <email@hidden>
References: 
 >problem with list (From: tom wible <email@hidden>)
 >Re: problem with list (From: "Mark J. Reed" <email@hidden>)
 >Re: problem with list (From: tom wible <email@hidden>)

  • Prev by Date: Re: problem with list
  • Next by Date: Re: problem with list
  • Previous by thread: Re: problem with list
  • Next by thread: Re: problem with list
  • Index(es):
    • Date
    • Thread