Need help for loop

i want to save c value with old c value. like this
when script activated and c value equals 0.4 and for loop is broke. when i activated again its start from 0.4 how can i do that ?