편집 요약 없음
편집 요약 없음
4번째 줄: 4번째 줄:


-------------------------  codepoint  ------------------------------------------
-------------------------  codepoint  ------------------------------------------
function p.code( frame )
function p.code( data )
local char = getArgs(frame)[1] or nil
if type(data) == 'table' then
if char then
data = getArgs(frame)[1] or nil
elseif type(data) == 'string' then
return p.code_(char)
return p.code_(char)
else
else