반응형
function start(func, ...)
func(...)
end
start(print, 'hello, world!')
-- 'hello, world!'
반응형
'코드보관소 > lua' 카테고리의 다른 글
키보드를 반복해서 누르는 방법 (0) | 2022.04.27 |
---|---|
[lua] string replace (0) | 2022.03.18 |
[lua] file (0) | 2021.07.13 |
[lua] hello, world! (0) | 2021.07.12 |