Problem with variable (bug?)

Discuss RoboTask here
Post Reply
marcolobaido
Posts: 70
Joined: Thu Jul 02, 2015 3:54 pm

Problem with variable (bug?)

Post by marcolobaido »

Hi, I want to compare two numbers extracted from excel choosing the bigger:

I create the global variables with initial value = 0

I extract cell with numeric value

if
{ore_corso} > {ore_corso_ps}
then
set {ore_corso_ps} with value {ore_corso}

at the end my global variables result for example:

{ore_corso} = number
{ore_corso_ps} = {ore_corso}

is it my fault?
Attachments
extract in your desktop.rar
(7.53 KiB) Downloaded 760 times
Oleg
Site Admin
Posts: 3004
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Problem with variable (bug?)

Post by Oleg »

Look at the step #10.
The problem is here (see screenshot)
expandvar.png
expandvar.png (11.56 KiB) Viewed 9329 times
Turn ON this checkbox, please.

When it is ON the action expands the expression and next assigns the result to variable.
When it is OFF the action assigns the expression as-it-is
Oleg Yershov
marcolobaido
Posts: 70
Joined: Thu Jul 02, 2015 3:54 pm

Re: Problem with variable (bug?)

Post by marcolobaido »

Thank you, also this time it was my fault :)
Post Reply