Though it is true that “numToChar” and “charToNum” are deprecated, they still live and work the same as always.
Old habits die hard, andI still use them. One day I will move on., but the original issue has not changed. Craig > On Jun 7, 2022, at 9:01 AM, Jean-Jacques Wagner via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Hi > Sorry, I ment the number of words. > > Since numtochar has been depreciated with version 7.0, the closest would be > now numtonativechar. > However with numtonativechar () for the words boundaries the following chars > number “09,10,11,12,13,32,202” are used. > > Therefore a feature has been depreciated with introduction of version 7.0, it > is a long time ago. Originally it was not so, > eg. (“numtochar(32)&numtochar(202)&numtochar(32)) was a word, which was not > visible on the screen, but visible for > the script. Now it makes very little sense to use the special char 202 > instead of numtochar(32). > > Sincerely, > > Jean-Jacques Wagner. > > >> Hypercard and livecode 6.7: the number of chars (numtochar(32)& >> Hypercard and livecode 6.7: the number of chars (numtochar(32)& > > >> Hypercard and livecode 6.7: the number of chars (numtochar(32)& >> numtochar(202)&numtochar(32)& numtochar(202)&numtochar(32)) = 2 > > >> 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 (numtonativer(32)& >> numtochar(202)&numtochar(32)& numtochar(202)&numtochar(32)) = 0 > > >> Version 6.7 word 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 > > > > >> Am 04.06.2022 um 18:00 schrieb use-livecode-requ...@lists.runrev.com: >> >> 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)) = 0 (in 9.6.8) >> >> As it should be. >> >> Char 202 is unicode for an invisible char marking a paragraph end I believe, >> I think rarely used until recently. It has been turning up in web sites >> causing difficulty for old parsers. >> >> >> Neville >> >>> >>> 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)& numtochar(202)&numtochar(32)) = 0 >>> >>> Is it a change or a bug considering now numtochar(202) as word boundary, as >>> it is with numtochar(32) >>> >> > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode