This shows you the differences between two versions of the page.
built_in:load_boolean [2015/03/04 18:06] octazid created |
built_in:load_boolean [2016/08/03 13:47] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====LoadBoolean===== | ||
- | // | ||
- | |||
- | ====Description==== | ||
- | |||
- | The **LoadBoolean** method loads a boolean (true of false) value from the user's storage space. Use this method when saving and loading user preferences. | ||
- | |||
- | The third parameter is an optional text parameter and allows sharing of data across multiple Apps when the same id is used by both apps. | ||
- | |||
- | < | ||
- | |||
- | See also [[built_in: | ||
- | |||
- | ---- | ||
- | |||
- | ====Example==== | ||
- | |||
- | <code javascript> | ||
- | |||
- | function OnStart() | ||
- | { | ||
- | b = app.LoadBoolean( " | ||
- | app.ShowPopup( b ); | ||
- | |||
- | app.SaveBoolean( " | ||
- | } | ||
- | |||
- | </ |