Variables are one the great additions to TC 9. A variable is a named memory location where we can store information, like a text or a number. We can access and change the contents of a variable via any item on our switchboard that has an Operations tab. We can use variables to change the flow of Operations and we can add them to Text Fields to display their contents.
This video is about how a numerical variable can be used to create a counter. Three things are needed to get this working:
1: Create a variable of the type numerical.
2: Increment / decrement the value of the variable in the Operations Tab of an item on the switchboard.
3: Display the contents of the variable in a text field.