> Besides from having to be careful about how the
> variable is used, perhaps nothing. But that (not using
> globals) may only be a habit of mine coming from
> Java...

Java... mmm.  My website is Java and Frames free.  You don't need all that 
extra caffine and glass in your system anyway ;)  Sorry, I had to.  I've 
recently run into troubles with globals - far after I had the chance to 
correct my mistake early on.  Now I have several thousand lines I need to go 
back and re-tweak to not use globals.  Damn system callback functions...

> But besides from that I seem to recall that globals
> reside in the [limited] dynamic memory heap throughout
> the app-life, something one should try to avoid. Or
> did I just make this one up.....?

I had thought globals were a resource in an application (a template, if you 
will) that was loaded into dynamic memory to be modified.  You may be able to 
dis-assemble some of your code to find out exactly where it's loaded to (an 
offset off of A7 or somesuch)...

-- 
Matthew (Darkstorm) Bevan       [EMAIL PROTECTED]
Margin Software, NECTI.         http://www.marginsoftware.com
        Re-inventing the wheel, every time.

 - "What's the use of a good quotation if you can't change it?"
                -- Dr. Who


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to