• 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
Xpress offset of tab giving an unexpected result.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xpress offset of tab giving an unexpected result.


  • Subject: Xpress offset of tab giving an unexpected result.
  • From: email@hidden
  • Date: Wed, 8 May 2002 11:40:56 +0100

I have a text box in Xpress. It contains (for example):

abcd<tab>abcd<tab>abcd<tab>abcd<return>

set bnTab to (offset of every character where it is "\t") as list

In the above example, this returns {{0},{4},{9},{14},{19}}

Which is wrong, to me, in three ways

1. Item 0 doesn't exist
2. It's a list of lists
3. It's a character out.

I can duplicate this every time with Xpress 4.11 on 9.2.2. Is it me or am I
missing something?

Steve
_______________________________________________
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.

  • Prev by Date: Re: Editing droplets...
  • Next by Date: Re: Xpress offset of tab giving an unexpected result.
  • Previous by thread: Re: Screensaver Problems
  • Next by thread: Re: Xpress offset of tab giving an unexpected result.
  • Index(es):
    • Date
    • Thread