help with understanding millis

In the first post of this Thread I wrote an extended demo of the concept in the Blink Without Delay example sketch. The demo also illustrates how to organize code into separate short functions rather than jumble everything together in loop().

...R