15.10.2009, 18:19
Quote:
|
Originally Posted by 0rb
First you have to know that the compiler can't be perfect and will never show you the exact problem of your script. In your case the compiler give this warning because something went wrong probably when allocating the memory for your variables in that function.
By default, only (but that is more than enough) around 4000 cells can be allocated in a function. You function exceed this limit by almost 3 times. I bet if you change those [10][256] by for exemple [10][25], that warning will disappear. As i said in your previous topic, if you need big variables that will use more than 4000 cells, place them at the top of your script. I personally place most of variables, big or not, at the top of my scripts. |
Quote:
|
I personally place most of variables, big or not, at the top of my scripts. |
so isn't that bad to place most variables at the top, since they're never erased from the memory?

