Variables are used to store information and they exist in almost all projects. The Create Variable shows the following window:
- Keep track saves the values to the file. When the app is reopened, the values are retrieved from the file.
You can check the file that stores the variables from Corona Simulator > File > Show Project Sandbox
In Documents folder, you find kwkVars.json. You can open it with Text Editor
the file contains the json table. To initiate the saving, a new value should be set to the variable. For instance, set variable with button/action.
- Edit Variable
Dynamic Text with Variable
make sure the variable should be defined as Before layers are rendered.
Please check external code & lib and keyboard tutorial too
If successfully configured, after saving the variable, reopening the app will show up with the saved value.