counter].shipMemory[counter3]=playerMemory2[counter].shipMemory[counter3];解释:counter是来自一个播放器的数组counter2是应该删除的船只上的数组id。
问题在第7行(this.playerMemory2[counter].shipMemory= new Ship)。
这里已经有一些答案部分地回答了我在访问方面的挑战,但还没有完全回答。我还有另外两个表;一个是针对customers and items (orders_a)的订货量,另一个是针对customers and items (forecast_a)的预测数量。因为用户希望为每个客户和每个项目手动预测全年的数量,所以如果有2个客户和2个项目,forecast_a表将包