--[[ file:a.lua --]] print(type("hello,lua!")) print(type("100")) print(type(100)) print(type(100.00)) print(type(true)) print(type(nil)) print(type(print))
输出结果
>lua -e "io.stdout:setvbuf 'no'" "a.lua" string string number number boolean nil function >Exit code: 0