Is it possible to change the value of a global variable in app designer?
25 views (last 30 days)
I initialized a matrix as a global variable (in the properties of the app) and I am now trying to fill it thanks to function called in differents callbacks. Is it possible to keep in memory the matrix filled with a previous callback and use it later with another callback.
I don't know if it is possible to create a variable in the properties that keep in memory the matrix filled, and then call it in another part of my code?
Dennis on 15 Mar 2021
Yes, you can use one matrix for several callbacks and it will keep its values. It will be stored as app property, so you need to use app. .
%in the property section:
%in your callback