• 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: Changed definition of word? No dashes?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changed definition of word? No dashes?


  • Subject: Re: Changed definition of word? No dashes?
  • From: Shane Stanley <email@hidden>
  • Date: Fri, 09 Feb 2001 09:50:04 +1100

On 9/2/01 8:55 AM +1000, Harald E Brandt, email@hidden, wrote:

> Has the definition of "word" changed, so it no longer includes the dash?
>
> Since upgrading to Mac OS 9.1, my scripts for account calculations have gone
> crazy! Earlier, I selected things like:
>
> word -1 of "bla bla -435,00 "
> Which returned -435,00
> which was fully correct. (The "," is the decimal character in Sweden, the "-"
> is a dash but of course its meaning is supposed to be minus.)
>
> But now, all of a sudden this returns only 435,00

I'm on 9.0.4, and the leading hyphen is not returned as part of a word (but
hyphenated words are returned as a single word). Indeed, I've been running
scripts for a long time, with several versions, that depend on this fact.

But it is possible for applications to use a different definition of word --
have you been using it inside a "tell application..." construct?

--
Shane Stanley, email@hidden


  • Follow-Ups:
    • Re: Changed definition of word? No dashes?
      • From: Harald E Brandt <email@hidden>
    • Re: Changed definition of word? No dashes?
      • From: Jolly Roger <email@hidden>
References: 
 >Changed definition of word? No dashes? (From: Harald E Brandt <email@hidden>)

  • Prev by Date: Re: Decimal Point Truncations?
  • Next by Date: Re: Changed definition of word? No dashes?
  • Previous by thread: Changed definition of word? No dashes?
  • Next by thread: Re: Changed definition of word? No dashes?
  • Index(es):
    • Date
    • Thread