i have a for loop that is infinite, it runs till i terminate the program.
inside of the loop there is a value(lets call it X) that keeps on changing all the time till i terminate the program.
when the program is executed i want to store the first x value once and keep it as constant and not changed while the loop is still running? (the storing of the x value should be inside the loop)
any suggestions would be greatly appreciated