Hello.
There is a some loop, which monitors keypress, updates display, etc.
Also in loop is variable, which should increase from 1 to 100 and then decrease from 100 to 1.
Is there any way to do it in simple way? without splitting loop into two parts?