Expand variables

Post comments and suggestions for RoboTask here
Post Reply
bgregory
Posts: 27
Joined: Mon May 22, 2017 4:28 pm

Expand variables

Post by bgregory »

It would be nice to have any variables automatically expanded instead of having to use a LOG statement just to see the contents of the variable.
Maybe each task could have a checkbox for Expansion: Yes or No. This would be so helpful.
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Expand variables

Post by Oleg »

I think that this is not very good idea.
Variables can contain unexpectedly large data.
If you need to see some expanded data you can use Log Message action with necessary expression

Also this action is very useful for debugging of your task
Oleg Yershov
bgregory
Posts: 27
Joined: Mon May 22, 2017 4:28 pm

Re: Expand variables

Post by bgregory »

Oleg,

I don't disagree on how large variables could get but having to use "Log Message" just to see what is in the variables (while running the task) can get quite tedious. Debugging
is one thing but something could go wrong after the task has been in use for a while and the "invalid variable contents" would never be known (unless you leave the "Log Message" function in all the time.

Just a thought... Bob Gregory
Post Reply