Global variables

Discuss RoboTask here
Post Reply
meriturva
Posts: 11
Joined: Thu Oct 18, 2007 3:29 am

Global variables

Post by meriturva »

Any way to disable the global variable functionality?
We have some task and we just would like to don't care about the variable name between differrent tasks. Now we have to put attention on the name of variable if it is used on other tasks.
Meriturva
meriturva
Posts: 11
Joined: Thu Oct 18, 2007 3:29 am

Global variables

Post by meriturva »

no way?please just to know if it is possible to disable the global scope of variables!Meriturva
Oleg
Site Admin
Posts: 3201
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Global variables

Post by Oleg »

All user variables are global within RoboTask. Each task can access them and change them.
If you want to guarantee that variable is been use only in one task you must use unigue names. For example use some specific prefix.
RichardBlank
Posts: 1
Joined: Sat Dec 08, 2007 8:49 pm
Location: Costa Rica
Contact:

Global variables

Post by RichardBlank »

Oleg wrote:All user variables are global within RoboTask. Each task can access them and change them.
If you want to guarantee that variable is been use only in one task you must use unigue names. For example use some specific prefix.
Thank you Oleg. Helpful advice.
Post Reply