How can one set text to a global variable in C2?
I have a global variable (number) set. on start of layout the system runs an Ajax Request to a php file that returns data from a database for the user.
On Ajax complete I set the value of the global variable to the returned Ajax.LastData.
But when I try to set the text block to display the new global variable (every tick) it just shows the text "stat1" instead of the global variable value.
I have tried setting text to ""& stat1 which displays a NaN error.