> I'm sorry but no, there isn't. I would have expected all the globals
> to be allocated consecutively, but if they're not, I know of no way
> that would make them be consecutive.
What about the ugly crutch of using a struct for all the globals and defining the globals
themselves as pointers to elements of the struct...? Yeah, I said 'ugly' !
--
Guillaume Dargaud
http://www.gdargaud.net/
"Maintenance Contractors always dress up nice, with a tie and everything because they believe
that a customer will trust a nicely dressed guy with their million dollar equipment just because
he's got a nice tie..." - Simon Travaglia (the B.O.F.H.).