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
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
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
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
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