今天看到lua數學庫中random math.random有3種調用方式: 1:不帶參數, ... tb[i]=x --生成的數直接放入表中end table.remove(tb,1) --移除第一項
確定! 回上一頁