Using the static keyword on a variable defined within a function is a way of
making the variable have the lifetime of a global variable while maintaining
the scope of a local variable. In other words, you can only access the
variable from within the function, but the variable retains it's values
between calls. Like any other global, it can only be accessed during some
launch codes. Also like any other global, it loses it's value when the app
exits.
-- 
Peter Epstein

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

Reply via email to