How to imlement ref variable

Hello everyone,
I’m new here, can you help me? how to imlement reference variable in uipath?
For examle:
a = 1
b = a
a = 2
And after these actions b should have 2 in value. How to imlement it?

Hi @90alex09,

Welcome to the Community

  1. to increment a variable u can use assign activity and palace your code as follows
    in the left side type variable name eg: a and then right side a+1 to increment ur variable from one
    same as for your above example u can use assign activity and when you assign a’s value into b it will be one and next time it will be 2

Happy automation