I think you could have an array, where the X position is the variable I told you before, and at Y you save the value.
First you create the array object with an width of whatever you want to, and Y 1, Z 1
In this example, "ID" is the variable I told you to set before, and "Var" is the variable you are talking about.
The "+" is the action
Repeat 10 times
Object.ID = LoopIndex #this picks the current object
+ Set Array at (LoopIndex, 1) to Object.Var #this saves the object's value to the array
Then you can have this:
Repeat 10 times (this is the same event as before)
Object.ID = LoopIndex #this picks the current object
+ CurrentObject.Variable = Array.At(LoopIndex+1, 1) + 2
This will get all objects one after the other, by selecting the object that has an ID equal to the current LoopIndex. Then it will set its variable to the next object value, from all the values were saved to the array.