• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Script: error 018: initialization data exceeds declared size
#5
(2021-03-13, 02:18 PM)Y_Less Wrote: 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

Okay, I'll follow the advice.

I already use this version of the compiler :D
  Reply


Messages In This Thread
RE: Script: error 018: initialization data exceeds declared size - by RhaegarX - 2021-03-13, 08:55 PM

Forum Jump: