最簡單的迴圈是for 迴圈(for loop)。在Lua 中有兩種不同的for 迴圈,我們先看第一種: ... a = io.read() end io.write("You have entered " .. n .. " numbers.\n")
確定! 回上一頁