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.
1 post • Page 1 of 1