Re: Changed definition of word? No dashes?
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