Page 1 of 1

Problem with variable (bug?)

Posted: Wed Jul 05, 2017 4:09 pm
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?

Re: Problem with variable (bug?)

Posted: Wed Jul 05, 2017 5:39 pm
by Oleg
Look at the step #10.
The problem is here (see screenshot)
expandvar.png
expandvar.png (11.56 KiB) Viewed 9360 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

Re: Problem with variable (bug?)

Posted: Wed Jul 05, 2017 6:15 pm
by marcolobaido
Thank you, also this time it was my fault :)