편집 요약 없음 |
편집 요약 없음 |
||
| (같은 사용자의 중간 판 하나는 보이지 않습니다) | |||
| 29번째 줄: | 29번째 줄: | ||
end | end | ||
if type(char) ~= ' | if type(char) ~= 'string' then | ||
return 'char is not a string (' .. type(char) ..')' | |||
end | end | ||
if offset == nil then | |||
return 'offset is not a number' | |||
elseif type(offset) ~= 'number' then | |||
return 'offset is not a number (' .. type(offset) ..')' | |||
end | end | ||