Assigning a value that stays even if the IF statement become false

 
Struggling to have a variable value assigned and remain assigned.  

If(delta>=x){
   Sigma=y;}

But when the IF statement becomes false my sigma value loses its previously assigned valve.  Anyone know the coding required