I don't know what other methods have been mentioned, but you can get the
effect of globals by defining a structure containing all your data,
allocating and initializing it in dynamic RAM, then stashing a pointer to it
in a feature. If you do this in response to all launch codes, your app can
be written to not care whether globals are available or not.
Mark Peters
in article 39175@palm-dev-forum, Alan Ingleby at [EMAIL PROTECTED]
wrote on 2/11/01 9:43 PM:
>
> Globals use space on the dynamic heap, and can't be used in certain
> circumstances anyway, so what other ways do we have of implementing them...
> (I know Aaron recently suggested a method, but are there others?)
>
> Regards,
>
> Alan Ingleby
> Systems Developer
> ProfitLink Consulting Pty Ltd
> 309 Burwood Road
> Hawthorn
> Victoria 3122
> Australia
>
>
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/