Preferences key not found

Posts: 6
Joined: Mon Jun 10, 2019 2:11 pm

Preferences key not found

Postby lenhalio » 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?

Who is online

Users browsing this forum: No registered users and 15 guests