早期Lua 5.1確實有些辦法,包裹一個禁用部份能力的函數。不過現在得繞點路,但很好理解。 function writeHello() local f<close> = io.open("hello.txt", ...
確定! 回上一頁