• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Script: error 018: initialization data exceeds declared size
#4
That's only true on the old compiler. Trailing commas are very very common in programming and the updated compiler supports them. It's actually a good thing Virsenas noticed that because I wouldn't have - I'm too used to trailing commas being allowed that I wouldn't have seen that code as wrong in any way. Anyway, I suggest you update your compiler:



https://github.com/pawn-lang/compiler/



I also suggest you use an enum for the indexes as well:



https://pastebin.com/VeWhp8U0
  Reply


Messages In This Thread
RE: Script: error 018: initialization data exceeds declared size - by Y_Less - 2021-03-13, 02:18 PM

Forum Jump: