how to mathmatically increment a variable by another variable

Discuss RoboTask here
Post Reply
mhamlett101
Posts: 3
Joined: Wed Oct 19, 2022 4:52 pm

how to mathmatically increment a variable by another variable

Post by mhamlett101 »

{Add("{Line(3)}","{vPPAIQTotal}")}

trying to increment a variable by an amount

doing a Set Variable action

not totaling
looping thru a text file, extracting a comma delimited field
the totaling the $'s on each line to a grand total
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: how to mathmatically increment a variable by another variable

Post by Oleg »

It seems we solved this problem

Probably you forgot about the option Expand value : https://robotask.com/help/index.html?setvariable.htm
If you want to set the value of a variable and use the same variable in an expression, this option is required.
Oleg Yershov
Post Reply