편집 요약 없음 |
편집 요약 없음 |
||
| 4번째 줄: | 4번째 줄: | ||
------------------------- codepoint ------------------------------------------ | ------------------------- codepoint ------------------------------------------ | ||
function p.code( | function p.code( data ) | ||
if type(data) == 'table' then | |||
data = getArgs(frame)[1] or nil | |||
elseif type(data) == 'string' then | |||
return p.code_(char) | return p.code_(char) | ||
else | else | ||