On 6/13/2022 12:13 PM, Mark Waddingham via use-livecode wrote:
Hypercard and livecode 6.7: the number of chars (numtochar(32)&
numtochar(202)&numtochar(32)& numtochar(202)&numtochar(32)) = 2
livecode 9.67 : the number of chars
(numtochar(32)& numtochar(202)&numtochar(32)&
"dirty hack" is my middle name! :-)
Bob S
> On Jun 13, 2022, at 09:13 , Mark Waddingham via use-livecode
> wrote:
>
> This was primarily a very dirty hack (which was done before my time!)
___
use-livecode mailing list
use-livecode@lists.runrev.co
Hi Jean-Jacques,
On 2022-06-03 14:56, Jean-Jacques Wagner via use-livecode wrote:
Hi,
Version 6.7word boudary are char number 09,10,11,12,13,32
version 9.67 word boudary are char number 09,10,11,12,13,32,202
Hypercard and livecode 6.7: the number of chars (numtochar(32)&
numtochar(202)&nu
Still jumping without thinking…
If native char 202 or unicode char 202 is a word boundary in Windows it is a
real bug — but is that the case?
Native char 202, a non-breaking space, should (or maybe shouldn’t) be a word
boundary in Mac - the docs say word boundaries are space, tab and return.
W
Hmm. I jumped without thinking…I was thinking if unicode char 2029 which is the
paragraph separator.
Unicode Char 202 is supposed to be Latin Capital Letter E With Circumflex.
But 202 is beyond the standard ascii range so the deprecated numtochar(202)
will return an extended ascii character dep
Apart from omitting the “of” in any of your posted lines of code, I am
confused..
The number of chars of any string of concatenated “numToChar” functions will be
the number of those functions, that is, 5, since each returns a single
character. How did you get any of the other results?
Craig
>
Jean-Jacques
In 9.6.8
the number of chars of (numtochar(32)& numtochar(202)&numtochar(32)&
numtochar(202)&numtochar(32)) = 5
As it should be.
Did you mean the number of words?
But then
the number of words of (numtochar(32)& numtochar(202)&numtochar(32)&
numtochar(202)&numtochar(32)) =
I get a compile error when using your syntax. If I insert the word "of" after
"chars" I get 5 for version 9.6.8 as you would expect. Do you have the *actual*
syntax that is causing you the problem? .
Bob S
> On Jun 3, 2022, at 06:56 , Jean-Jacques Wagner via use-livecode
> wrote:
>
> Hi,
>
Hi
Look up numToChar in the dictionary.
It's been deprecated since v7 0 because of unicode.
This might explain things.
Hope that helps
Ian McKnight
On Fri, 3 Jun 2022, 14:57 Jean-Jacques Wagner via use-livecode, <
use-livecode@lists.runrev.com> wrote:
> Hi,
> Version 6.7word boudary are ch
Hi,
Version 6.7word boudary are char number 09,10,11,12,13,32
version 9.67 word boudary are char number 09,10,11,12,13,32,202
Hypercard and livecode 6.7: the number of chars (numtochar(32)&
numtochar(202)&numtochar(32)& numtochar(202)&numtochar(32)) = 2
livecode 9.67 :
10 matches
Mail list logo