what is format to make digitalWrite variable?

That's correct, Mike, but the sequence of pins in reply #3 is not continuous.