• 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: Why won't this parse?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why won't this parse?


  • Subject: Re: Why won't this parse?
  • From: Jim Schram <email@hidden>
  • Date: Thu, 10 May 2001 16:04:49 -0700

At 9:01 AM -0700 5/10/01, David Graham wrote:
>No matter how I try it I get an error when attempting to reference the second text item. I even tried coercing it to a list but couldn't get the second item of the list either. What the heck is going on here?

You're not handling the case where the last element of the list nickFileEntries is an empty string.

Move the last quotation mark from your property assignment to the end of the first string to make the problem go away. A better approach is to wrap your code which breaks the info apart in try handlers where the on-error section assigns your variables the empty string.

-- Jim


References: 
 >Why won't this parse? (From: David Graham <email@hidden>)

  • Prev by Date: Re: Scripting creation of Internet clippings
  • Next by Date: checking values in property problem
  • Previous by thread: Re: Why won't this parse?
  • Next by thread: Re: Why won't this parse?
  • Index(es):
    • Date
    • Thread