Instance table. - Printable Version +- Colobot Forum - International Colobot Community (https://colobot.info/forum) +-- Forum: [Archive] New forum (2015-2019) (https://colobot.info/forum/forumdisplay.php?fid=76) +--- Forum: Colobot: Gold Edition Basics (https://colobot.info/forum/forumdisplay.php?fid=58) +---- Forum: Help (https://colobot.info/forum/forumdisplay.php?fid=61) +---- Thread: Instance table. (/showthread.php?tid=573) |
Instance table. - pumanitro - 02-04-2015 Hello Why it did'nt work on colobot ? Code: points[] DB = new points[9999]; It is that class : Code: public class points RE: Instance table. - krzys_h - 02-04-2015 That's some kind of bug in CBot interpreter. But don't worry, there is a simple workaround - in CBot you don't need to excplictly specify the size of the array using "new". Do it like this: Code: public class points PS. I think I know what you are working on RE: Instance table. - pumanitro - 02-04-2015 It works. Much thanks |