Variables Tricks
Posted: Tue Sep 22, 2026 9:53 am
When creating multiple variables of the same type you can create several at once by adding the names separated by commas in the create a new variable dialogue.
The initial value entry will assign the same default value to all of the created variables. It is highly recommended to always assign a known value to a variable before reading a variable back in your program so assigning a meaningful initial value is very good practise.
Providing clear and meaningful names for your variables will help in the long run when it comes to coding and debugging the functionality. An optional description can be added to each variable to provide more details about it.
Variables that are unused in your project will appear greyed out in the Variables tab of the Project Explorer window.
Any unused variables can be automatically deleted by right clicking the Constants or Variables headings and selecting "Delete unused".
References to a specific variable can be searched by right clicking a variable and selecting "List occurrences".
The initial value entry will assign the same default value to all of the created variables. It is highly recommended to always assign a known value to a variable before reading a variable back in your program so assigning a meaningful initial value is very good practise.
Providing clear and meaningful names for your variables will help in the long run when it comes to coding and debugging the functionality. An optional description can be added to each variable to provide more details about it.
Variables that are unused in your project will appear greyed out in the Variables tab of the Project Explorer window.
Any unused variables can be automatically deleted by right clicking the Constants or Variables headings and selecting "Delete unused".
References to a specific variable can be searched by right clicking a variable and selecting "List occurrences".