[OT] PERL

Richmond richmondmathewson at gmail.com
Sun May 18 06:31:46 EDT 2014


Can anybody tell me what a % sign [not a hash] as an operator means in PERL?

$lo = ($uni - 0x10000) % 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.

Richmond




More information about the use-livecode mailing list