Local variables are visible only within the current task. Global variables are visible in all tasks.
Attached examples do the following:
1. Set a value for a local variable and just display it on the screen.
2. Set a value for the global variable "global_var".
3. Display the value of "global_var" in another task.
Working with local and global variables
Working with local and global variables
- Attachments
-
- VariablesExamples.xsc
- Section with examples, please, save it in xStarter/Sections folder.
- (18.73 KiB) Downloaded 1404 times