Preferences key not found
Posted: Mon Jun 10, 2019 5:40 pm
When first using a new Preferences key, the compiler error output indicates that the key is NOT FOUND. After doing a "put", then the key is found. If a "get" is done before the "put", the key is NOT FOUND.
However, one would want to do a get first to see if the parameter indicated by the key should be set to a default value.
Is there a way to set up an "initialized" list of keys without doing a put to the parameter?
What is the preferred way to set up an initialized list of keys?
However, one would want to do a get first to see if the parameter indicated by the key should be set to a default value.
Is there a way to set up an "initialized" list of keys without doing a put to the parameter?
What is the preferred way to set up an initialized list of keys?