fix value

Dear Users lammps

I have a simple problem. how can I make one variable fix to use in different places in my code, for example i want to compute strain so i use variable equal command , if i want to subtract the next strain from the first that i calculate how can do it?

See the discussion on the variable doc page about
Immediate Evaluation of Variables.