Re: Why won't this parse?
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