k, sorry, answering your signature: understood, you're not dumb, only an idiot!
cheers!
Back to global codes:
If you declare a function, variable, struct, or anything else in Global code, it's as though the variable were among the GE created variables, functions etc. Therefore you can use them where-ever in code, as all otherthings, without needing to declare any other things!
Variable sizes:
Those are what are called arrays;
Arrays are like a bucket of variables you pick up from the ground and belong together for some reason. The size is the number telling GE how many variables you picked up.
Example: Let's say you were to create a hightmap for a board in GE, for whatever reason.
You create a variable called hights (or whatever) and then let's say you give it a size: say 9, which would be for like a 3x3 board, ut can be anything.
That is like crating 9 variables:
Here's the trick:
you've now created hights[0], heights[1], heights[2], etc.... heights[8]. No heights[9], cause we started from 0!!! Watch out for that.
Each has it's OWN value, which doesn't effect the other values in the array!
That's the basics to it, but you can really mess around with them, and get many aches and pains in the process...
btw: Variable sizes actually in programming means something quite different, so it's unluck to ask that from a programmer, he might not think of
arrays.
Cheers, hope I helped now!