> Is there a rule as to when and when not to access them?

Yes, there is.  And it's well documented.  See, for example, page 57 of the
"Palm OS Programmer's Companion" that comes with SDK 3.5 (I found this by
opening the document and search for "globals").

You can find the same text at:

     <http://oasis.palm.com/dev/kb/manuals/1713.cfm>

-- Keith Rollin
-- Palm OS Emulator engineer






"Mike Lyle" <[EMAIL PROTECTED]> on 02/09/2001 06:32:07 PM

Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>

Sent by:  "Mike Lyle" <[EMAIL PROTECTED]>


To:   "Palm Developer Forum" <[EMAIL PROTECTED]>
cc:    (Keith Rollin/US/PALM)
Subject:  Re: Global Variables



Keith,
Thanks for the reply.  I guess I'm accessing global variables at the wrong
time.
Is there a rule as to when and when not to access them?

Thanks,
Mike Lyle

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Sent: Friday, February 09, 2001 6:02 PM
Subject: Re: Global Variables


>
>
> > I always assumed that Palm deprecates the use of globals generally,
because
> > of the warnings generated by POSE.
>
> No.  Poser only warns when an application appears to be attempting to
access
> globals when they don't exist.  It doesn't not warn during normal,
accepted
> accesses.
>
> -- Keith Rollin
> -- Palm OS Emulator engineer
>
>
>
>
>
>
> "Philip Sheard" <[EMAIL PROTECTED]> on 02/09/2001 03:54:56 PM
>
> Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>
>
> Sent by:  "Philip Sheard" <[EMAIL PROTECTED]>
>
>
> To:   "Palm Developer Forum" <[EMAIL PROTECTED]>
> cc:    (Keith Rollin/US/PALM)
> Subject:  Re: Global Variables
>
>
>
> > As a new palm developer coming from the Windows environment, do you
> realize that
> > not having global variables is a condition that exists only a small
> fraction of
> > the time?  For normal application execution, you have full access to
> global
> > variables.
> >
> > Or are you talking about one of those other cases where globals really
> aren't
> > available?
>
> I always assumed that Palm deprecates the use of globals generally,
because
> of the warnings generated by POSE.
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please
> see http://www.palmos.com/dev/tech/support/forums/
>
>
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>


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





-- 
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