function add(a, b) if not tonumber(a) or not tonumber(b) then error('a , b必須為數字') end return a + b end add(1, 'a').
確定! 回上一頁