作為一個寄宿型的嵌入式語言,Lua設計更傾向由宿主語言(通常是C)處理錯誤。 num = 10 str = "string" print('Hello, Lua') result = num / str -- Error: attempt to div a ...
確定! 回上一頁