Re: Xpress offset of tab giving an unexpected result.
Re: Xpress offset of tab giving an unexpected result.
- Subject: Re: Xpress offset of tab giving an unexpected result.
- From: email@hidden
- Date: Wed, 8 May 2002 13:43:26 +0100
>
> 1. Item 0 doesn't exist
>
Quark works on the basis that character 1 has an offset of 0 from the
>
start of the story.
That's flawed in two ways:
1) You can't reference it as 0. Character 0 and item 0 return errors. I
have to add 1 to every item in my list which is extra work (for the
processor not for me) if that's the case.
2) None of characters before the first tab at character 5 are tab. So 0
shouldn't be in that list.
>
> 2. It's a list of lists
>
Remove your redundant as list (you'll then have to check the class to
>
make sure it's a list, and coerce it then of necessary.)
That's my fault for reading the documentation. If I hadn't read it, I
wouldn't put the "as list" there (it's in the scripts I downloaded from
www.quark.com/support
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.