|
Bob and I discussed pros and cons of Globals.
I use in some programs extensively globals, and use pointers
to them. Pariculary in cases where code space is challenged,
or execution speed. You define them once, they do not get pushed/
pulled on stack operations, just the pointers.
Note however this works great in reducing code size where native
machine size is 8 bit, and you have many ints and longs, especially
longs.
I think collectively we should do a sticky Globals vs Locals thread,
get everyones input, and put it in an ap note.
Regards, Dana.
|