On 18/05/14 13:53, Peter W A Wood wrote:
Richmond
On 18 May 2014, at 18:31, Richmond wrote:
Can anybody tell me what a % sign [not a hash] as an operator means in PERL?
$lo = ($uni - 0x1) % 0x400 + 0xDC00
IFF a % means the same as MOD in Livecode then
the formula in the recent stack I ma
Richmond
On 18 May 2014, at 18:31, Richmond wrote:
> Can anybody tell me what a % sign [not a hash] as an operator means in PERL?
>
> $lo = ($uni - 0x1) % 0x400 + 0xDC00
>
> IFF a % means the same as MOD in Livecode then
> the formula in the recent stack I made to calculate surrogate pairs
Can anybody tell me what a % sign [not a hash] as an operator means in PERL?
$lo = ($uni - 0x1) % 0x400 + 0xDC00
IFF a % means the same as MOD in Livecode then
the formula in the recent stack I made to calculate surrogate pairs is not
as bad as it could be and only needs slight modification.