I am having problems getting my app preferences saved
and retrieved.

I am confused by the wording of the 'saved' parameter.
The documentations says that if it is 'true' then retrieve the saved
preferences and if 'false' get the current preferences.

Isn't it the case that a Get just retrieves the data and Set saves the
data.  What exactly does the 'saved' parameter do?  A Get with a 'saved'
flag seems to suggest that there are two places to get data from.  But I
don't see but one (storage memory).  If I 'Get' then I should be
retrieving data from my pref storage (one place) and that data is
transferred to my global pref variable.  So why do I need the 'saved'
flag?

I have looked at the example in the docs and that does not explain what I
am asking.  Can someone explain this by explaining what happens when set
to 'true' and what happens when 'false'?  Where is data moved from to
where, for both cases?


----------------------------------------------------
Shoot-to-Win

Protect the 2nd Amendment
----------------------------------------------------

Reply via email to