Variables are used in Visual Coding (VC) to temporarily store data that should be used later on in the VC script.
Adding and working with variables is done in the coding block configuration window.
Used for all parameters that accept or return the type 'Value'. Often used for text strings or numbers
To add a value variable follow these steps:
An instance of a data item with a specific class. When working with data object variables, they will not belong directly to any collection and so you will need to add them to a collection if would like to save and utilize them.
To add a data object variable follow these steps:
The final type of variable is a component reference, and is used when working with UI components.
To add a component reference variable follow these steps: