Re: codePointToNum

2017-04-02 Thread Kay C Lan via use-livecode
On Sat, Apr 1, 2017 at 4:11 AM, Richmond Mathewson via use-livecode wrote: > put baseConvert(codePointToNum("&"), 10, 16) > > BUT it go "all stuffy" about the codePointToum, so I did this: > > put codePointToNum("&") into NUMM > put baseC

Re: codePointToNum

2017-03-31 Thread Richmond Mathewson via use-livecode
However, "(baseConvert: bad destination base)" does not help much. This mainly because your example was wrong. I tried this: put baseConvert(codePointToNum("&"), 10, 16) because your syntax was the wrong way round, BUT it go "all stuffy" about the

Re: codePointToNum

2017-03-31 Thread Richmond via use-livecode
Thanks for a very prompt and useful reply! Richmond. On 31/03/17 13:33, Mark Waddingham via use-livecode wrote: On 2017-03-31 12:12, Richmond via use-livecode wrote: So, if I do something like this: *put the codePointToNum("§")* I will get the Unicode address of that character as

Re: codePointToNum

2017-03-31 Thread Mark Waddingham via use-livecode
On 2017-03-31 12:12, Richmond via use-livecode wrote: So, if I do something like this: *put the codePointToNum("§")* I will get the Unicode address of that character as a Decimal number. How can I get it as a Hex number? Two options - you can use baseConvert: put baseConv

codePointToNum

2017-03-31 Thread Richmond via use-livecode
So, if I do something like this: *put the codePointToNum("§")* I will get the Unicode address of that character as a Decimal number. How can I get it as a Hex number? Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Pl