Working with local and global variables

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

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

Post Reply