| Global number Variable1? = 0
--------------------
The following is so that when you close, your value is loaded
--------------------
+ System: On start of layout
-> LocalStorage: Check item "MyVar" exists
+ LocalStorage: On item "MyVar" missing
-> LocalStorage: Set item "MyVar" to Variable1
+ LocalStorage: On item "MyVar" exists
-> LocalStorage: Get item "MyVar"
+ LocalStorage: On item "MyVar" get
-> System: Set Variable1 to LocalStorage.ItemValue
--------------------
The following is to save the value when it is modified
--------------------
+ Keyboard: On Numpad add pressed
-> System: Add 1 to Variable1
-> LocalStorage: Set item "MyVar" to Variable1
+ Keyboard: On Numpad subtract pressed
-> System: Subtract 1 from Variable1
-> LocalStorage: Set item "MyVar" to Variable1