Working with local and global variables

Example tasks
Post Reply
User avatar
Site Admin
Posts: 345
Joined: Mon May 21, 2007 4:09 pm

Working with local and global variables

Post by Alex » Thu Jun 07, 2007 10:11 am

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.
Section with examples, please, save it in xStarter/Sections folder.
(18.73 KiB) Downloaded 1446 times

Post Reply