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
Who is online
Users browsing this forum: No registered users and 1 guest