下面是引用 s8720419 於 2013-07-21 17:01 發表的 : 看到最後 才知道 ...原來 你想設定 每回合 菜單只能購買1次設定?public roundstart(){ buy[id] = 0 <-----他說有問題}你沒給他 ID 當然有錯...public roundstart(){ for (new id = 1; id<=32; id++) buy[id] = 0 <-----已經沒問題了}.....}