Help with set runtime variable

Can we Set runtime variable by name and then set initial value and then in next condition get that variable by (get runtime variable) name and modify its value(e.g do a math operation) and in next operation/condition get modified value